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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.44ms] Passed 4 tests
An overview of server-side resources used by The Plus Addons for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 35.95 ▼4.92 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.46 ▼3.96 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.58 ▲2.75 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.28 ▲5.54 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.15 ▲0.39 |
Server storage [IO: ▲9.92MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 675 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by The Plus Addons for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲42 | 14.20 ▼0.52 | 1.66 ▼0.25 | 37.59 ▼6.75 |
Dashboard /wp-admin | 2,209 ▲32 | 5.60 ▼0.04 | 91.78 ▼10.76 | 39.51 ▼5.86 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.01 ▼0.01 | 41.76 ▲3.46 | 36.95 ▲0.15 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 23.22 ▼1.91 | 620.04 ▼25.16 | 53.43 ▼24.95 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.23 ▲0.01 | 96.74 ▲1.39 | 43.79 ▲1.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 37× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-plus-addons-for-elementor-page-builder/includes/plus-options/metabox/includes/helper-functions.php:131
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
6 plugin tags: elementor widgets, extensions, elementor, elementor templates, elementor addon...
the-plus-addons-for-elementor-page-builder/theplus_elementor_addon.php 85% from 13 tests
"The Plus Addons for Elementor" version 5.2.21's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("the-plus-addons-for-elementor-page-builder.php" instead of "theplus_elementor_addon.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin140,871 lines of code in 493 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 160 | 4,897 | 8,004 | 83,786 |
PO File | 120 | 14,315 | 18,502 | 32,323 |
CSS | 93 | 1,113 | 1,611 | 17,112 |
JavaScript | 99 | 700 | 652 | 5,046 |
Sass | 16 | 300 | 25 | 1,379 |
XML | 1 | 0 | 0 | 1,164 |
SVG | 4 | 1 | 3 | 61 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 197)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 251.00 |
Average method complexity | 4.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 197.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 139 | |
▷ Abstract classes | 8 | 5.76% |
▷ Concrete classes | 131 | 94.24% |
▷ Final classes | 1 | 0.76% |
Methods | 1,066 | |
▷ Static methods | 101 | 9.47% |
▷ Public methods | 798 | 74.86% |
▷ Protected methods | 253 | 23.73% |
▷ Private methods | 15 | 1.41% |
Functions | 122 | |
▷ Named functions | 114 | 93.44% |
▷ Anonymous functions | 8 | 6.56% |
Constants | 23 | |
▷ Global constants | 14 | 60.87% |
▷ Class constants | 9 | 39.13% |
▷ Public constants | 9 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
33 PNG files occupy 0.93MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/template-view.png | 1.62KB | 1.57KB | ▼ 3.37% |
includes/plus-options/metabox/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
includes/plus-options/metabox/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/plus-options/metabox/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/images/selectarrow.png | 1.03KB | 0.21KB | ▼ 79.16% |