Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.56MB] [CPU: ▼155.14ms] Passed 4 tests
This is a short check of server-side resources used by Funnelmentals
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.19 ▲4.36 | 39.06 ▲6.82 |
Dashboard /wp-admin | 7.21 ▲4.15 | 40.12 ▲3.55 |
Posts /wp-admin/edit.php | 7.21 ▲4.10 | 38.44 ▼5.52 |
Add New Post /wp-admin/post-new.php | 7.21 ▲1.77 | 38.10 ▼623.81 |
Media Library /wp-admin/upload.php | 7.21 ▲4.21 | 38.88 ▲5.23 |
Funnelmentals /wp-admin/admin.php?page=funnelmentals-settings | 7.21 | 37.34 |
Freemius Debug [v.2.1.1] /wp-admin/admin.php?page=freemius | 7.21 | 38.47 |
Funnelmentals /wp-admin/admin.php?page=web-disrupt-funnelmentals | 7.21 | 37.08 |
Server storage [IO: ▲3.57MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 244 new files
Database: no new tables, 5 new options
New WordPress options |
---|
fs_api_cache |
fs_active_plugins |
fs_debug_mode |
fs_accounts |
fs_gdpr |
Browser metrics Passed 4 tests
An overview of browser requirements for Funnelmentals
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,841 ▲245 | 16.38 ▲0.76 | 15.42 ▲5.14 | 45.63 ▼1.58 |
Dashboard /wp-admin | 2,992 ▲64 | 5.91 ▼0.04 | 149.52 ▲0.02 | 117.62 ▲4.98 |
Posts /wp-admin/edit.php | 2,766 ▲27 | 2.72 ▲0.00 | 67.76 ▼0.05 | 96.82 ▲8.43 |
Add New Post /wp-admin/post-new.php | 1,598 ▼85 | 18.42 ▼0.37 | 412.23 ▲14.84 | 114.07 ▲5.66 |
Media Library /wp-admin/upload.php | 1,758 ▼52 | 5.02 ▼0.03 | 152.01 ▲0.48 | 123.93 ▲13.89 |
Funnelmentals /wp-admin/admin.php?page=funnelmentals-settings | 3,468 | 3.92 | 106.31 | 88.39 |
Freemius Debug [v.2.1.1] /wp-admin/admin.php?page=freemius | 1,471 | 2.12 | 53.75 | 82.41 |
Funnelmentals /wp-admin/admin.php?page=web-disrupt-funnelmentals | 1,292 | 2.12 | 55.94 | 98.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/web-disrupt-funnelmentals/includes/actions.php+13
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 5 options
- fs_api_cache
- fs_debug_mode
- fs_accounts
- fs_active_plugins
- fs_gdpr
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=web-disrupt-funnelmentals
- > Notice in wp-content/plugins/web-disrupt-funnelmentals/includes/actions.php+13
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=funnelmentals-settings
- > Notice in wp-content/plugins/web-disrupt-funnelmentals/templates/settings.php+49
Undefined index: remove-elementor-bottom-margin
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/web-disrupt-funnelmentals/includes/wordpress-sdk-master/templates/ajax-loader.php
- 26× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: inputs_list in wp-content/plugins/web-disrupt-funnelmentals/templates/settings.php on line 40
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/web-disrupt-funnelmentals/templates/settings.php on line 49
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/web-disrupt-funnelmentals/includes/wordpress-sdk-master/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/web-disrupt-funnelmentals/includes/wordpress-sdk-master/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function Web_Disrupt_Funnelmentals\\apply_filters() in wp-content/plugins/web-disrupt-funnelmentals/includes/pro-actions.php:16
- > PHP Notice
Undefined variable: data in wp-content/plugins/web-disrupt-funnelmentals/templates/settings.php on line 58
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/web-disrupt-funnelmentals/templates/settings.php on line 49
- > PHP Notice
Undefined variable: version in wp-content/plugins/web-disrupt-funnelmentals/templates/settings.php on line 25
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/web-disrupt-funnelmentals/templates/settings.php on line 58
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/web-disrupt-funnelmentals/templates/settings.php on line 58
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
web-disrupt-funnelmentals/web-disrupt-funnelmentals.php Passed 13 tests
The entry point to "Funnelmentals" version 1.2.6 is a PHP file that has certain tags in its header comment area
72 characters long description:
Powerful funnel creation add-ons for the popular page builder Elementor.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin44,091 lines of code in 176 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 115 | 6,585 | 14,871 | 29,241 |
PO File | 9 | 4,216 | 4,944 | 9,156 |
LESS | 4 | 595 | 179 | 2,608 |
Sass | 25 | 390 | 77 | 2,443 |
CSS | 17 | 18 | 13 | 395 |
JavaScript | 5 | 43 | 78 | 226 |
Markdown | 1 | 7 | 0 | 22 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,224)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 64.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,224.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 0 | 0.00% |
Methods | 1,177 | |
▷ Static methods | 165 | 14.02% |
▷ Public methods | 792 | 67.29% |
▷ Protected methods | 92 | 7.82% |
▷ Private methods | 293 | 24.89% |
Functions | 108 | |
▷ Named functions | 107 | 99.07% |
▷ Anonymous functions | 1 | 0.93% |
Constants | 118 | |
▷ Global constants | 97 | 82.20% |
▷ Class constants | 21 | 17.80% |
▷ Public constants | 21 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
24 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/prettyPhoto/sprite.png | 2.44KB | 2.17KB | ▼ 11.08% |
assets/images/prettyPhoto/default/sprite_y.png | 1.13KB | 0.13KB | ▼ 88.81% |
assets/images/logo.png | 6.72KB | 3.08KB | ▼ 54.17% |
includes/wordpress-sdk-master/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/images/prettyPhoto/default/sprite_next.png | 1.33KB | 0.39KB | ▼ 70.69% |