Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.38MB] [CPU: ▲19.46ms] 75% from 4 tests
An overview of server-side resources used by Sales Page Addon - Elementor & Beaver Builder
Please take the time to fix the following items
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.38MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.19 ▲5.73 | 69.72 ▲24.88 |
Dashboard /wp-admin | 9.21 ▲5.87 | 74.19 ▲8.54 |
Posts /wp-admin/edit.php | 9.22 ▲5.85 | 91.44 ▲41.75 |
Add New Post /wp-admin/post-new.php | 9.95 ▲4.06 | 110.59 ▲8.64 |
Media Library /wp-admin/upload.php | 9.22 ▲5.98 | 69.34 ▲35.79 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.22 | 67.06 |
Server storage [IO: ▲12.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 323 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
sales_page_flush_rewrite_rules_flag |
widget_recent-posts |
db_upgraded |
sales-page-builders |
widget_theysaidso_widget |
fs_active_plugins |
widget_recent-comments |
fs_accounts |
fs_debug_mode |
... |
Browser metrics Passed 4 tests
Sales Page Addon - Elementor & Beaver Builder: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲155 | 14.39 ▲0.27 | 2.04 ▼0.09 | 35.38 ▼8.81 |
Dashboard /wp-admin | 2,269 ▲92 | 5.88 ▲0.23 | 96.54 ▲1.12 | 44.28 ▲1.32 |
Posts /wp-admin/edit.php | 2,180 ▲80 | 2.44 ▲0.44 | 41.44 ▲5.80 | 39.31 ▲4.15 |
Add New Post /wp-admin/post-new.php | 1,578 ▲36 | 23.49 ▲0.47 | 626.90 ▼69.41 | 34.64 ▼18.62 |
Media Library /wp-admin/upload.php | 1,474 ▲83 | 4.46 ▲0.25 | 103.75 ▲0.23 | 45.79 ▼3.28 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,123 | 2.07 | 36.62 | 31.06 |
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
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/sales-page-addon/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 11 options
- theysaidso_admin_options
- fs_debug_mode
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- sales_page_flush_rewrite_rules_flag
- fs_active_plugins
- widget_recent-comments
- db_upgraded
- fs_accounts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/sales-page-addon/beaver/modules/niche-icon-group/includes/frontend.php
- 28× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\get_option() in wp-content/plugins/sales-page-addon/elementor/widgets/basic/salespage-text-editor.php:9
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderCSS' not found in wp-content/plugins/sales-page-addon/beaver/modules/niche-magic-wind/includes/frontend.css.php:8
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/sales-page-addon/beaver/modules/niche-contact/niche-contact.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/sales-page-addon/beaver/modules/niche-testimonial/includes/frontend.php:35
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/sales-page-addon/beaver/modules/niche-icon-group/includes/frontend.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/sales-page-addon/beaver/modules/niche-icon-box/includes/frontend.php:38
- > PHP Notice
Trying to get property 'icons' of non-object in wp-content/plugins/sales-page-addon/beaver/modules/niche-icon-group/includes/frontend.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/sales-page-addon/beaver/modules/niche-icon-box/niche-icon-box.php:8
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/sales-page-addon/beaver/modules/niche-icon-group/niche-icon-group.php:6
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/sales-page-addon/beaver/modules/niche-magic-wind/niche-magic-wind.php:8
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
7 plugin tags: page, funnel, template, elementor, builder...
sales-page-addon/sales-page-addon.php 92% from 13 tests
The main PHP script in "Sales Page Addon - Elementor & Beaver Builder" version 1.4.2 is automatically included on every request by WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 360 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin71,875 lines of code in 229 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 164 | 8,518 | 17,770 | 38,857 |
JSON | 23 | 0 | 0 | 23,144 |
CSS | 30 | 149 | 78 | 6,830 |
JavaScript | 8 | 216 | 90 | 1,785 |
SVG | 4 | 1 | 0 | 1,259 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 70.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 64 | |
▷ Abstract classes | 2 | 3.12% |
▷ Concrete classes | 62 | 96.88% |
▷ Final classes | 0 | 0.00% |
Methods | 1,317 | |
▷ Static methods | 208 | 15.79% |
▷ Public methods | 917 | 69.63% |
▷ Protected methods | 27 | 2.05% |
▷ Private methods | 373 | 28.32% |
Functions | 161 | |
▷ Named functions | 159 | 98.76% |
▷ Anonymous functions | 2 | 1.24% |
Constants | 156 | |
▷ Global constants | 107 | 68.59% |
▷ Class constants | 49 | 31.41% |
▷ Public constants | 49 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
17 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/video-icon.png | 2.21KB | 0.92KB | ▼ 58.35% |
assets/images/button-arrow-top-black.png | 1.36KB | 0.63KB | ▼ 53.47% |
freemius/assets/img/plugin-icon.png | 16.02KB | 7.81KB | ▼ 51.24% |
admin/css/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/images/title-buzz-left.png | 2.72KB | 1.92KB | ▼ 29.30% |