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.20MB] [CPU: ▼9.76ms] Passed 4 tests
An overview of server-side resources used by ElementsReady Addons for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 38.18 ▼5.17 |
Dashboard /wp-admin | 3.52 ▲0.17 | 46.45 ▼24.23 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 50.86 ▲1.97 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 92.50 ▼6.70 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 36.07 ▼2.94 |
Server storage [IO: ▲18.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 762 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ElementsReady Addons for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲81 | 14.51 ▼0.20 | 1.92 ▼0.04 | 45.22 ▲0.74 |
Dashboard /wp-admin | 2,219 ▲39 | 5.62 ▼0.04 | 89.98 ▼4.97 | 43.37 ▼3.00 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 1.98 ▲0.02 | 40.25 ▲1.62 | 35.92 ▼0.98 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.25 ▲0.02 | 658.13 ▼5.38 | 63.70 ▲4.17 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.22 ▲0.04 | 98.90 ▲6.50 | 42.96 ▲1.38 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/element-ready-lite/inc/dashboard/views/dashboard.php
- > /wp-content/plugins/element-ready-lite/inc/Modules/Menu_Builder/Base/templates/menu-item-settings.php
- 178× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/element-ready-lite/inc/Modules/Menu_Builder/Widgets/layout/menu/style9.php on line 26
- > PHP Fatal error
require_once(): Failed opening required 'ELEMENT_READY_DIR_PATH/inc/style_controls/common/common.php' (include_path='.:/usr/share/php') in wp-content/plugins/element-ready-lite/inc/Widgets/order/WooCommerce_Order_Details.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'Element_Ready\\Base\\BaseController' not found in wp-content/plugins/element-ready-lite/inc/Base/Controls/Video/Generel_Video_Controls.php:9
- > PHP Warning
Use of undefined constant ELEMENT_READY_DIR_PATH - assumed 'ELEMENT_READY_DIR_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/element-ready-lite/inc/Widgets/price_table/Element_Ready_Pricing_Table.php on line 19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/element-ready-lite/inc/Modules/Menu_Builder/Widgets/layout/menu/style8.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Element_Ready\\Base\\BaseController' not found in wp-content/plugins/element-ready-lite/inc/Base/Controls/Slider/Generel_Controls.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_user_by() in wp-content/plugins/element-ready-lite/templates/edd/content.php:3
- > PHP Warning
require_once(ELEMENT_READY_DIR_PATH/inc/style_controls/box/box_style.php): failed to open stream: No such file or directory in wp-content/plugins/element-ready-lite/inc/Widgets/user/SignUp.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/element-ready-lite/inc/Widgets/user/layout/signin/style1.php on line 20
- > PHP Notice
Undefined variable: settings in wp-content/plugins/element-ready-lite/inc/Modules/Menu_Builder/Widgets/layout/menu/style1.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #9 in element-ready-lite/assets to your readme.txt
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
element-ready-lite/index.php 92% from 13 tests
"ElementsReady Addons for Elementor" version 5.5.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("element-ready-lite.php" instead of "index.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin175,182 lines of code in 645 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 233 | 11,271 | 5,310 | 93,271 |
CSS | 184 | 8,277 | 1,128 | 53,833 |
SVG | 37 | 398 | 31 | 16,790 |
JavaScript | 179 | 2,274 | 943 | 9,496 |
Sass | 9 | 38 | 0 | 1,775 |
JSON | 3 | 2 | 0 | 17 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 118)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 13.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 118.00 |
Code structure | ||
---|---|---|
Namespaces | 71 | |
Interfaces | 0 | |
Traits | 8 | |
Classes | 165 | |
▷ Abstract classes | 5 | 3.03% |
▷ Concrete classes | 160 | 96.97% |
▷ Final classes | 7 | 4.38% |
Methods | 1,109 | |
▷ Static methods | 100 | 9.02% |
▷ Public methods | 964 | 86.93% |
▷ Protected methods | 121 | 10.91% |
▷ Private methods | 24 | 2.16% |
Functions | 153 | |
▷ Named functions | 138 | 90.20% |
▷ Anonymous functions | 15 | 9.80% |
Constants | 31 | |
▷ Global constants | 24 | 77.42% |
▷ Class constants | 7 | 22.58% |
▷ Public constants | 7 | 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
30 PNG files occupy 3.47MB with 1.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/DataTables-1.10.23/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/img/dashboard-thumb.png | 1,237.17KB | 415.26KB | ▼ 66.43% |
assets/img/logo-big.png | 74.22KB | 17.27KB | ▼ 76.73% |
assets/img/dash-banner-top.png | 61.53KB | 18.74KB | ▼ 69.54% |
assets/img/sunset.png | 4.06KB | 2.72KB | ▼ 33.07% |