Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.62ms] Passed 4 tests
This is a short check of server-side resources used by Elementor Addon Elements
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.70 ▼4.34 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.62 ▲1.65 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.89 ▲0.29 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.14 ▼15.86 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.12 ▲1.43 |
Server storage [IO: ▲6.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 253 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elementor Addon Elements
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.21 ▼0.02 | 1.87 ▲0.16 | 39.45 ▼5.26 |
Dashboard /wp-admin | 2,202 ▲22 | 5.53 ▲0.03 | 96.28 ▲5.56 | 44.01 ▲5.94 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▲0.01 | 40.42 ▼1.56 | 38.28 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.31 ▲0.11 | 660.00 ▲2.27 | 63.59 ▲7.28 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▼0.13 | 98.21 ▼3.70 | 43.49 ▼1.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
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
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-bottom-left.php
- > /wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-upper-right.php
- > /wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-bottom-right.php
- > /wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-upper-left.php
- 100× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Group_Control_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/controls/group/grid-control.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPML_Elementor_Module_With_Items' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/wpml/modules/comparison-table/class-wpml-eae-comparison-table-plan-two.php:6
- > PHP Fatal error
Uncaught Error: Class 'WTS_EAE\\Modules\\Timeline\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/timeline/skins/skin-3.php:8
- > PHP Fatal error
Uncaught Error: Class 'WTS_EAE\\Modules\\Chart\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/chart/skins/skin-polar-area-chart.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPML_Elementor_Module_With_Items' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/wpml/modules/comparison-table/class-wpml-eae-comparison-table-plan-three.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/addon-elements-for-elementor-page-builder/elementor-addon-elements.php:18
- > PHP Fatal error
Uncaught Error: Class 'WTS_EAE\\Modules\\Timeline\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/timeline/skins/skin-2.php:8
- > PHP Fatal error
Uncaught Error: Class 'WTS_EAE\\Modules\\ProgressBar\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/progress-bar/skins/skin-5.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/shape-separator/shapes/triangle-upper-right.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'WTS_EAE\\Modules\\ProgressBar\\Skins\\Skin_Base' not found in wp-content/plugins/addon-elements-for-elementor-page-builder/modules/progress-bar/skins/skin-1.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: elementor, elements, wordpress page builder, elementor page builder, page-builder...
addon-elements-for-elementor-page-builder/elementor-addon-elements.php 85% from 13 tests
The main PHP file in "Elementor Addon Elements" ver. 1.12.9 adds more information about the plugin and also serves as the entry point for this plugin
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: Please rename the main PHP file in this plugin to the plugin slug ("addon-elements-for-elementor-page-builder.php" instead of "elementor-addon-elements.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin100,326 lines of code in 222 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 35 | 9,168 | 5,432 | 51,542 |
PHP | 127 | 4,260 | 307 | 36,752 |
CSS | 9 | 1,286 | 596 | 11,634 |
SVG | 50 | 0 | 2 | 250 |
Sass | 1 | 15 | 2 | 148 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 156.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 84.00 |
Code structure | ||
---|---|---|
Namespaces | 68 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 121 | |
▷ Abstract classes | 7 | 5.79% |
▷ Concrete classes | 114 | 94.21% |
▷ Final classes | 0 | 0.00% |
Methods | 690 | |
▷ Static methods | 36 | 5.22% |
▷ Public methods | 527 | 76.38% |
▷ Protected methods | 121 | 17.54% |
▷ Private methods | 42 | 6.09% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
20 PNG files occupy 1.42MB with 0.74MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-8.png | 40.16KB | 11.71KB | ▼ 70.84% |
assets/lib/vegas/overlays/09.png | 0.13KB | 0.12KB | ▼ 13.87% |
assets/screenshot-1.png | 81.46KB | 25.62KB | ▼ 68.55% |
assets/aep.png | 13.82KB | 6.34KB | ▼ 54.12% |
assets/lib/vegas/overlays/03.png | 0.20KB | 0.10KB | ▼ 53.11% |