84% wp-fusion-lite

Code Review | WP Fusion Lite - Marketing Automation and CRM Integration for WordPress

WordPress plugin WP Fusion Lite - Marketing Automation and CRM Integration for WordPress scored 84% from 54 tests.

About plugin

  • Plugin page: wp-fusion-lite
  • Plugin version: 3.41.24
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.3.0
  • WordPress version: 6.3.1
  • First release: Sep 10, 2018
  • Latest release: Aug 10, 2023
  • Number of updates: 30
  • Update frequency: every 59.9 days
  • Top authors: verygoodplugins (100%)

Code review

54 tests

User reviews

58 reviews

Install metrics

4,000+ active / 66,549 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.58MB] [CPU: ▲0.92ms] Passed 4 tests

Analyzing server-side resources used by WP Fusion Lite - Marketing Automation and CRM Integration for WordPress
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.2838.52 ▼4.36
Dashboard /wp-admin4.02 ▲0.7251.16 ▲2.56
Posts /wp-admin/edit.php4.07 ▲0.7252.37 ▲4.34
Add New Post /wp-admin/post-new.php6.54 ▲0.6699.25 ▲3.41
Media Library /wp-admin/upload.php3.88 ▲0.6637.27 ▲2.05
WP Fusion /wp-admin/options-general.php?page=wpf-settings4.3862.19

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 299 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
wpf_options
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by WP Fusion Lite - Marketing Automation and CRM Integration for WordPress
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,858 ▲12314.82 ▲0.261.74 ▼0.1637.22 ▼7.10
Dashboard /wp-admin2,242 ▲544.84 ▼0.02110.21 ▼6.3044.36 ▼1.54
Posts /wp-admin/edit.php2,121 ▲322.01 ▼0.0140.42 ▲5.7736.72 ▲2.04
Add New Post /wp-admin/post-new.php1,555 ▲2723.45 ▲0.40596.70 ▼95.5859.84 ▲1.96
Media Library /wp-admin/upload.php1,421 ▲304.19 ▼0.0396.59 ▼6.8542.99 ▼3.48
WP Fusion /wp-admin/options-general.php?page=wpf-settings6,3197.76204.0288.89

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • wpf_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Design.class.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Account.class.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Deal.class.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'WPF_Async_Request' not found in wp-content/plugins/wp-fusion-lite/includes/admin/batch/class-background-process.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'AC_Contact' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Subscriber.class.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Group.class.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Auth.class.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Contact.class.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Tracking.class.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-fusion-lite/includes/crms/activecampaign/includes/Webhook.class.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
  • Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

wp-fusion-lite/wp-fusion-lite.php 92% from 13 tests

Analyzing the main PHP file in "WP Fusion Lite - Marketing Automation and CRM Integration for WordPress" version 3.41.24
You should first fix the following items:
  • Requires at least: Required version does not match the one declared in readme.txt ("4.6" instead of "3.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected57,348 lines of code in 287 files:
LanguageFilesBlank linesComment linesLines of code
PHP24126,10122,03150,949
CSS96191572,830
JavaScript259903682,294
Pascal2146511578
SVG100414
Markdown5920171
Sass4170112

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity44.11
▷ Minimum class complexity1.00
▷ Maximum class complexity289.00
Average method complexity4.02
▷ Minimum method complexity1.00
▷ Maximum method complexity56.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes182
▷ Abstract classes21.10%
▷ Concrete classes18098.90%
▷ Final classes10.56%
Methods2,587
▷ Static methods351.35%
▷ Public methods2,45895.01%
▷ Protected methods361.39%
▷ Private methods933.59%
Functions60
▷ Named functions3456.67%
▷ Anonymous functions2643.33%
Constants24
▷ Global constants1354.17%
▷ Class constants1145.83%
▷ Public constants11100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/logo.png15.50KB3.09KB▼ 80.04%
assets/img/logo-sm-trans.png1.63KB0.45KB▼ 72.37%
assets/img/logo-wide-color.png6.62KB2.61KB▼ 60.57%
assets/img/logo-wide.png4.18KB2.53KB▼ 39.48%