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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.55ms] Passed 4 tests
Analyzing server-side resources used by Easy Elementor Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.86 ▼5.50 |
Dashboard /wp-admin | 3.34 ▲0.03 | 53.21 ▲0.12 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.00 ▲2.85 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.72 ▼15.65 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 51.66 ▲18.98 |
Server storage [IO: ▲18.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 282 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
eead_widgets |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Elementor Addons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.35 ▼1.03 | 1.76 ▼0.07 | 40.76 ▼8.28 |
Dashboard /wp-admin | 2,213 ▲22 | 4.80 ▼1.10 | 102.57 ▼1.36 | 39.83 ▼6.80 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▼0.01 | 38.57 ▲0.31 | 36.46 ▲1.76 |
Add New Post /wp-admin/post-new.php | 1,549 ▲27 | 18.30 ▼4.83 | 635.33 ▼27.57 | 56.82 ▼20.80 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.25 ▲0.04 | 97.87 ▼3.19 | 40.91 ▼2.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- eead_widgets
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/examples/../../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/examples/symfonyHttpClient.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'JsonMachine\\JsonDecoder\\Decoder' not found in wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/JsonDecoder/PassThruDecoder.php:9
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/examples/../../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/examples/symfonyHttpClient.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'JsonMachine\\JsonDecoder\\Decoder' not found in wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/JsonDecoder/ExtJsonDecoder.php:9
- > PHP Warning
require_once(wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/examples/../../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/examples/guzzleHttp.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/easy-elementor-addons/inc/admin-menu/admin-menu-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function EasyElementorAddons\\add_action() in wp-content/plugins/easy-elementor-addons/inc/admin-menu/admin-menu-class.php:11
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/examples/../../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-elementor-addons/vendor/JsonMachine/examples/guzzleHttp.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
3 plugin tags: elementor widgets, block elements, elementor addons
easy-elementor-addons/easy-elementor-addons.php Passed 13 tests
This is the main PHP file of "Easy Elementor Addons" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
84 characters long description:
Elementor addons for WordPress Themes developed by HashThemes https://hashthemes.com
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin841,525 lines of code in 261 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 721,001 |
PHP | 132 | 5,888 | 946 | 43,382 |
CSS | 24 | 5,662 | 3,680 | 40,084 |
JavaScript | 39 | 8,208 | 4,267 | 28,371 |
SVG | 63 | 337 | 19 | 8,687 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 10.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 111 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 124 | |
▷ Abstract classes | 1 | 0.81% |
▷ Concrete classes | 123 | 99.19% |
▷ Final classes | 1 | 0.81% |
Methods | 664 | |
▷ Static methods | 10 | 1.51% |
▷ Public methods | 473 | 71.23% |
▷ Protected methods | 177 | 26.66% |
▷ Private methods | 14 | 2.11% |
Functions | 24 | |
▷ Named functions | 22 | 91.67% |
▷ Anonymous functions | 2 | 8.33% |
Constants | 19 | |
▷ Global constants | 6 | 31.58% |
▷ Class constants | 13 | 68.42% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected