Benchmarks
Plugin footprint 83% 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: ▲0.00MB] [CPU: ▼2.57ms] Passed 4 tests
This is a short check of server-side resources used by Elegant Addons for elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.82 ▲1.61 |
Dashboard /wp-admin | 3.32 ▼0.03 | 51.33 ▼11.28 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.41 ▲1.06 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 98.52 ▲0.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.79 ▼0.37 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 150 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Elegant Addons for elementor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲49 | 14.20 ▼0.15 | 2.00 ▲0.24 | 42.09 ▼2.79 |
Dashboard /wp-admin | 2,209 ▲32 | 5.67 ▲0.07 | 94.23 ▲0.96 | 44.52 ▲2.48 |
Posts /wp-admin/edit.php | 2,117 ▲20 | 2.06 ▲0.07 | 41.59 ▲3.97 | 37.25 ▼3.04 |
Add New Post /wp-admin/post-new.php | 1,538 ▼2 | 17.62 ▼0.46 | 659.57 ▼5.69 | 57.65 ▼3.56 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.26 ▲0.07 | 109.04 ▲3.59 | 52.88 ▲12.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- 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 everything seems fine, this is not 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
The following issues need your attention
- 7× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-filters.php
- > /wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-tabs.php
- > /wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-tabs-item.php
- > /wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-filters-item.php
- > /wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-content.php
- > /wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-preview.php
- > /wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-templates.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-header.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-keywords.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-header-logo.php:10
- > PHP Warning
Use of undefined constant ELEGANT_ADDONS_URL - assumed 'ELEGANT_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-header-logo.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-item.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-loading.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-header-back.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-error.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elegant-addons-for-elementor/includes/templates/scripts/template-modal-insert-button.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
elegant-addons-for-elementor/elegant-addons-for-elementor.php Passed 13 tests
"Elegant Addons for elementor" version 1.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
78 characters long description:
Elegant Addons Plugin Includes 13+ premium widgets for Elementor Page Builder.
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
No dangerous file extensions were detected22,767 lines of code in 87 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 62 | 2,162 | 2,788 | 13,316 |
CSS | 9 | 959 | 190 | 7,457 |
JavaScript | 14 | 544 | 174 | 1,948 |
SVG | 2 | 0 | 0 | 46 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 2 | 4.88% |
▷ Concrete classes | 39 | 95.12% |
▷ Final classes | 0 | 0.00% |
Methods | 293 | |
▷ Static methods | 17 | 5.80% |
▷ Public methods | 228 | 77.82% |
▷ Protected methods | 55 | 18.77% |
▷ Private methods | 10 | 3.41% |
Functions | 41 | |
▷ Named functions | 36 | 87.80% |
▷ Anonymous functions | 5 | 12.20% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
41 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/frontend/images/prettyPhoto1/previous.png | 0.52KB | 0.45KB | ▼ 13.26% |
assets/frontend/images/prettyPhoto1/sprite.png | 2.44KB | 2.17KB | ▼ 11.08% |
assets/frontend/images/prettyPhoto/dark_square/btnPrevious.png | 1.41KB | 1.19KB | ▼ 15.74% |
assets/frontend/images/prettyPhoto/dark_rounded/contentPattern.png | 0.13KB | 0.09KB | ▼ 25.38% |
assets/frontend/images/prettyPhoto/default/sprite_x.png | 1.07KB | 0.11KB | ▼ 89.79% |