84% wp-funnel-manager

Code Review | WP Funnel Manager

WordPress plugin WP Funnel Manager scored84%from 54 tests.

About plugin

  • Plugin page: wp-funnel-manager
  • Plugin version: 1.3.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-5.9
  • WordPress version: 6.3.1
  • First release: Jul 8, 2019
  • Latest release: Apr 29, 2022
  • Number of updates: 7
  • Update frequency: every 146.7 days
  • Top authors: manfcarlo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,798 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.07MB] [CPU: ▲0.06ms] Passed 4 tests

Analyzing server-side resources used by WP Funnel Manager
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0738.50 ▼2.21
Dashboard /wp-admin3.36 ▲0.0544.75 ▼7.25
Posts /wp-admin/edit.php3.47 ▲0.1150.91 ▲8.58
Add New Post /wp-admin/post-new.php6.13 ▲0.2496.42 ▲8.26
Media Library /wp-admin/upload.php3.28 ▲0.0535.01 ▲1.43

Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
wpfunnel_db_version
can_compress_scripts
widget_theysaidso_widget
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Funnel Manager
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲8313.23 ▼1.181.69 ▼0.1440.05 ▼5.33
Dashboard /wp-admin2,221 ▲305.91 ▲0.01107.61 ▼8.5942.27 ▼1.24
Posts /wp-admin/edit.php2,104 ▲152.05 ▲0.0339.35 ▲3.7233.99 ▼0.18
Add New Post /wp-admin/post-new.php1,546 ▲2423.21 ▼0.01589.20 ▼71.2750.95 ▼5.56
Media Library /wp-admin/upload.php1,406 ▲184.21 ▲0.0297.49 ▲2.6042.64 ▲1.27

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • wpfunnel_db_version
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Funnel_Manager\\Legacy_Funnel_Type' not found in wp-content/plugins/wp-funnel-manager/src/funnel.php:8

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
The official readme.txt is a good inspiration

wp-funnel-manager/wp-funnel-manager.php 92% from 13 tests

Analyzing the main PHP file in "WP Funnel Manager" version 1.3.2
The following require your attention:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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
No dangerous file extensions were detected647 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP5135139647

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity23.33
▷ Minimum class complexity17.00
▷ Maximum class complexity27.00
Average method complexity2.81
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods37
▷ Static methods410.81%
▷ Public methods3491.89%
▷ Protected methods25.41%
▷ Private methods12.70%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin