78% liquidpoll-fluent-crm-integration

Code Review | LiquidPoll - FluentCRM Integration

WordPress plugin LiquidPoll - FluentCRM Integration scored78%from 54 tests.

About plugin

  • Plugin page: liquidpoll-fluent...
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Oct 24, 2022
  • Latest release: Dec 26, 2022
  • Number of updates: 7
  • Update frequency: every 9.3 days
  • Top authors: liquidpoll (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /264 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.44MB] [CPU: ▲3.34ms] Passed 4 tests

Server-side resources used by LiquidPoll - FluentCRM Integration
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.92 ▲0.4544.75 ▲3.47
Dashboard /wp-admin3.78 ▲0.4859.25 ▲7.74
Posts /wp-admin/edit.php3.84 ▲0.4853.16 ▲2.65
Add New Post /wp-admin/post-new.php6.30 ▲0.4292.02 ▼0.52
Media Library /wp-admin/upload.php3.65 ▲0.4241.35 ▲9.26
Install Plugins /wp-admin/edit.php?post_type=poll&page=liquidpoll-required-plugins3.4825.48

Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by LiquidPoll - FluentCRM Integration
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲3314.26 ▼0.021.72 ▼0.2342.65 ▼2.42
Dashboard /wp-admin2,225 ▲515.60 ▼0.0188.56 ▼4.3645.31 ▲3.80
Posts /wp-admin/edit.php2,139 ▲392.03 ▲0.0639.44 ▲0.4442.60 ▲1.85
Add New Post /wp-admin/post-new.php1,553 ▲1523.15 ▲0.10693.12 ▲56.3660.10 ▲7.08
Media Library /wp-admin/upload.php1,438 ▲384.19 ▼0.08104.70 ▲4.0354.94 ▲8.58
Install Plugins /wp-admin/edit.php?post_type=poll&page=liquidpoll-required-plugins280.420.134.51

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function did_action() in wp-content/plugins/liquidpoll-fluent-crm-integration/class-tgm-plugin-activation.php:2109

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
    • > GET request to /wp-admin/edit.php?post_type=poll&page=liquidpoll-required-plugins
    • > Network (severe)
    wp-admin/edit.php?post_type=poll&page=liquidpoll-required-plugins - Failed to load resource: the server responded with a status of 403 (Forbidden)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Screenshots: Screenshot #1 (screenshot-1.png) image required
The official readme.txt might help

liquidpoll-fluent-crm-integration/liquidpoll-fluent-crm-integration.php 92% from 13 tests

The main file in "LiquidPoll - FluentCRM Integration" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Domain Path: The domain path is invalid: folder "/languages/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,963 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP25371,6551,963

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.53
Average class complexity44.50
▷ Minimum class complexity1.00
▷ Maximum class complexity206.00
Average method complexity4.25
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods107
▷ Static methods65.61%
▷ Public methods8478.50%
▷ Protected methods2321.50%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants350.00%
▷ Class constants350.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected