Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼294.63ms] Passed 4 tests
Analyzing server-side resources used by Eleddon - Elementor Addons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.26 | 56.67 ▲5.24 |
Dashboard /wp-admin | 3.61 ▲0.20 | 34.93 ▼0.15 |
Posts /wp-admin/edit.php | 3.83 ▲0.19 | 40.37 ▲1.18 |
Add New Post /wp-admin/post-new.php | 7.16 ▲0.16 | 99.90 ▼1,181.68 |
Media Library /wp-admin/upload.php | 3.55 ▲0.25 | 26.34 ▲2.12 |
Server storage [IO: ▲6.41MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 110 new files
Database: no new tables, 1 new option
New WordPress options |
---|
eleddon_widgets_activation |
Browser metrics Passed 4 tests
Checking browser requirements for Eleddon - Elementor Addons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,825 ▲83 | 15.63 ▼0.35 | 6.47 ▼0.44 | 2.88 ▲0.59 |
Dashboard /wp-admin | 2,922 ▲61 | 6.16 ▼0.02 | 116.22 ▼20.47 | 171.84 ▲13.37 |
Posts /wp-admin/edit.php | 2,716 ▲22 | 3.25 ▲0.02 | 68.08 ▲1.34 | 142.72 ▼4.27 |
Add New Post /wp-admin/post-new.php | 1,739 ▲49 | 22.62 ▲1.68 | 446.35 ▼27.95 | 151.35 ▼0.78 |
Media Library /wp-admin/upload.php | 1,728 ▲30 | 5.55 ▲0.05 | 137.58 ▼9.01 | 196.34 ▲11.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/eleddon/inc/custom-controls/popup-select.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function Eleddon\\CustomControl\\add_action() in wp-content/plugins/eleddon/inc/custom-controls/custom-control.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: elementor page builder, addon, elementor, elementor addons
eleddon/eleddon.php Passed 13 tests
The principal PHP file in "Eleddon - Elementor Addons" v. 1.0.0 is loaded by WordPress automatically on each request
26 characters long description:
Description of the plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected21,665 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 1 | 15 | 11,847 |
CSS | 11 | 595 | 276 | 5,344 |
PHP | 26 | 933 | 523 | 3,953 |
JavaScript | 11 | 225 | 168 | 521 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 1 | 4.00% |
Methods | 133 | |
▷ Static methods | 15 | 11.28% |
▷ Public methods | 105 | 78.95% |
▷ Protected methods | 21 | 15.79% |
▷ Private methods | 7 | 5.26% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 10 | 76.92% |
▷ Class constants | 3 | 23.08% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
29 PNG files occupy 0.94MB with 0.52MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/brand/brand2.png | 6.29KB | 3.38KB | ▼ 46.34% |
widgets/assets/img/card/card1.png | 193.35KB | 47.89KB | ▼ 75.23% |
admin/assets/img/logo.png | 7.86KB | 3.75KB | ▼ 52.37% |
widgets/assets/img/service/service2.png | 15.17KB | 7.39KB | ▼ 51.30% |
admin/assets/img/elements/1.png | 24.57KB | 11.45KB | ▼ 53.37% |