Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.80MB] [CPU: ▲27.93ms] 75% from 4 tests
A check of server-side resources used by Drag & Drop Sales Funnel Builder for WordPress – WPFunnels
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 692.11ms on /wp-admin/admin.php?page=wpfnl_settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.18 ▲3.72 | 71.79 ▲27.72 |
Dashboard /wp-admin | 7.38 ▲4.07 | 81.76 ▲31.58 |
Posts /wp-admin/edit.php | 7.06 ▲3.70 | 70.02 ▲22.73 |
Add New Post /wp-admin/post-new.php | 10.49 ▲4.60 | 133.03 ▲46.03 |
Media Library /wp-admin/upload.php | 6.93 ▲3.70 | 65.68 ▲29.70 |
Funnels /wp-admin/admin.php?page=wp_funnels | 7.15 | 70.34 |
Edit Funnel /wp-admin/admin.php?page=edit_funnel | 6.95 | 56.15 |
Email Builder /wp-admin/admin.php?page=email-builder | 7.00 | 66.43 |
Settings /wp-admin/admin.php?page=wpfnl_settings | 7.39 | 692.11 |
Request a Feature /wp-admin/admin.php?page=manage_options | 6.81 | 53.77 |
Server storage [IO: ▲37.38MB] [DB: ▲0.13MB] 67% from 3 tests
Filesystem and database footprint
These are issues you should consider
- Total filesystem usage must be limited to 25MB (currently using 37.38MB)
Filesystem: 1,129 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
_is_wpfnl_anniversary_promotion |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
_wpfnl_added_type_meta |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Drag & Drop Sales Funnel Builder for WordPress – WPFunnels
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,307 ▲561 | 13.87 ▼0.69 | 10.62 ▲8.82 | 20.03 ▼24.61 |
Dashboard /wp-admin | 2,724 ▲547 | 5.75 ▲0.22 | 97.80 ▼4.32 | 111.50 ▲68.77 |
Posts /wp-admin/edit.php | 2,187 ▲90 | 2.23 ▲0.21 | 33.66 ▼4.13 | 34.36 ▼2.03 |
Add New Post /wp-admin/post-new.php | 1,620 ▲85 | 18.09 ▼0.24 | 636.24 ▲8.00 | 35.96 ▼30.57 |
Media Library /wp-admin/upload.php | 1,480 ▲77 | 4.24 ▲0.04 | 101.51 ▲0.49 | 64.30 ▲17.69 |
Funnels /wp-admin/admin.php?page=wp_funnels | 3,487 | 8.76 | 278.96 | 139.89 |
Edit Funnel /wp-admin/admin.php?page=edit_funnel | 741 | 1.68 | 10.54 | 21.75 |
Email Builder /wp-admin/admin.php?page=email-builder | 3,561 | 17.74 | 807.98 | 200.01 |
Settings /wp-admin/admin.php?page=wpfnl_settings | 3,383 | 8.36 | 103.20 | 135.96 |
Request a Feature /wp-admin/admin.php?page=manage_options | 729 | 1.51 | 7.17 | 20.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.13MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- _wpfnl_added_type_meta
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- _is_wpfnl_anniversary_promotion
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=email-builder
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage_options
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 71× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/wpfunnels/admin/partials/icons/heart-icon.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/doc-icon2.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/doc-icon.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/advanced-settings.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/duplicate-icon.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/no-funnels-icon.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/utm-icon.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/import-icon.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/webhook-icon.php
- > /wp-content/plugins/wpfunnels/admin/partials/icons/design-icon.php
- 385× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_RecurringSchedule' not found in wp-content/plugins/wpfunnels/packages/action-scheduler/classes/schedules/ActionScheduler_CronSchedule.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\CssSelector\\Parser\\Handler\\HandlerInterface' not found in wp-content/plugins/wpfunnels/vendor/symfony/css-selector/Parser/Handler/StringHandler.php:32
- > PHP Fatal error
Uncaught Error: Class 'WPFunnels\\Admin\\Module\\Wpfnl_Admin_Module' not found in wp-content/plugins/wpfunnels/admin/modules/funnel/class-wpfnl-funnel.php:15
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Mime\\Header\\AbstractHeader' not found in wp-content/plugins/wpfunnels/vendor/symfony/mime/Header/DateHeader.php:19
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Action' not found in wp-content/plugins/wpfunnels/packages/action-scheduler/classes/actions/ActionScheduler_FinishedAction.php:6
- > PHP Notice
Undefined variable: props in wp-content/plugins/wpfunnels/includes/core/widgets/divi-modules/includes/modules/OptIn/template/template-optin.php on line 171
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Mime\\Part\\AbstractMultipartPart' not found in wp-content/plugins/wpfunnels/vendor/symfony/mime/Part/Multipart/RelatedPart.php:20
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schedule' not found in wp-content/plugins/wpfunnels/packages/action-scheduler/classes/schedules/ActionScheduler_SimpleSchedule.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Mime\\Encoder\\ContentEncoderInterface' not found in wp-content/plugins/wpfunnels/vendor/symfony/mime/Encoder/EightBitContentEncoder.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_get_product() in wp-content/plugins/wpfunnels/public/modules/checkout/templates-style/order-bump-template-style6.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=email-builder
- > Network (severe)
wp-admin/nullwpfunnels/v1/mint/automation/get_mail_template_data/null - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=email-builder
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=email-builder 0:0 Uncaught SyntaxError: Unexpected token '
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #11 in wpfunnels/assets to your readme.txt
- Tags: You are using too many tags: 14 tag instead of maximum 10
wpfunnels/wpfnl.php 85% from 13 tests
"Drag & Drop Sales Funnel Builder for WordPress – WPFunnels" version 2.8.13's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wpfunnels.php" instead of "wpfnl.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected147,786 lines of code in 891 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 693 | 13,982 | 25,122 | 89,090 |
CSS | 17 | 1,296 | 41 | 36,577 |
JavaScript | 42 | 1,610 | 2,076 | 7,651 |
Sass | 38 | 997 | 125 | 6,924 |
Vuejs Component | 22 | 282 | 98 | 2,949 |
PO File | 1 | 877 | 2,864 | 1,919 |
JSON | 24 | 0 | 0 | 982 |
SVG | 39 | 6 | 5 | 875 |
Markdown | 7 | 154 | 0 | 453 |
Bourne Shell | 1 | 23 | 11 | 147 |
XML | 3 | 7 | 11 | 126 |
reStructuredText | 1 | 40 | 34 | 43 |
JSX | 2 | 12 | 14 | 36 |
make | 1 | 4 | 0 | 14 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Please reduce cyclomatic complexity of methods to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 16.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 434.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 123 | |
Interfaces | 42 | |
Traits | 11 | |
Classes | 445 | |
▷ Abstract classes | 43 | 9.66% |
▷ Concrete classes | 402 | 90.34% |
▷ Final classes | 88 | 21.89% |
Methods | 3,507 | |
▷ Static methods | 508 | 14.49% |
▷ Public methods | 2,799 | 79.81% |
▷ Protected methods | 386 | 11.01% |
▷ Private methods | 322 | 9.18% |
Functions | 306 | |
▷ Named functions | 158 | 51.63% |
▷ Anonymous functions | 148 | 48.37% |
Constants | 281 | |
▷ Global constants | 115 | 40.93% |
▷ Class constants | 166 | 59.07% |
▷ Public constants | 153 | 92.17% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.10MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/core/widgets/elementor/assets/images/elementor-widget-icon/next-step-hover.png | 1.50KB | 0.91KB | ▼ 39.50% |
admin/assets/images/icon.png | 7.05KB | 6.95KB | ▼ 1.40% |
includes/core/widgets/elementor/assets/images/styles/style-1.png | 7.38KB | 3.07KB | ▼ 58.45% |
includes/core/widgets/elementor/assets/images/elementor-widget-icon/sale-accept.png | 1.64KB | 1.15KB | ▼ 29.89% |
includes/core/widgets/elementor/assets/images/elementor-widget-icon/sale-accept-hover.png | 1.60KB | 1.15KB | ▼ 28.14% |