Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.59ms] Passed 4 tests
An overview of server-side resources used by Easy EDD For Elementor - EDD Addon for Elementor. Make EDD more usable with Elementor.
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.90 ▼0.26 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.49 ▼15.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.07 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.04 ▼10.24 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.78 ▲0.49 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Easy EDD For Elementor - EDD Addon for Elementor. Make EDD more usable with Elementor.
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.37 ▲0.02 | 1.72 ▲0.12 | 40.02 ▲0.16 |
Dashboard /wp-admin | 2,189 ▲9 | 5.55 ▼0.13 | 91.58 ▲8.10 | 38.36 ▼2.88 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.01 | 38.59 ▼0.02 | 33.46 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.18 ▼4.83 | 627.72 ▼41.47 | 60.76 ▼0.16 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.16 ▼0.04 | 96.39 ▼7.15 | 44.72 ▼0.03 |
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
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-edd-for-elementor/widgets/templates/card-template-one.php
- > /wp-content/plugins/easy-edd-for-elementor/widgets/templates/grid-template.php
- > /wp-content/plugins/easy-edd-for-elementor/widgets/templates/list-template.php
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/easy-edd-for-elementor/widgets/templates/card-template-one.php on line 32
- > PHP Notice
Undefined variable: products in wp-content/plugins/easy-edd-for-elementor/widgets/templates/grid-template.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-edd-for-elementor/widgets/templates/grid-template.php on line 2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/easy-edd-for-elementor/widgets/templates/card-template-one.php on line 31
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/easy-edd-for-elementor/widgets/templates/grid-template.php on line 3
- > PHP Notice
Undefined variable: products in wp-content/plugins/easy-edd-for-elementor/widgets/templates/list-template.php on line 3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/easy-edd-for-elementor/widgets/templates/grid-template.php on line 2
- > PHP Notice
Undefined variable: products in wp-content/plugins/easy-edd-for-elementor/widgets/templates/card-template-one.php on line 32
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/easy-edd-for-elementor/widgets/templates/list-template.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-edd-for-elementor/widgets/templates/card-template-one.php on line 31
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: edd, elementor edd addon, elementor edd, edd elementor addon, edd elementor
easy-edd-for-elementor/easy-edd-for-elementor.php 92% from 13 tests
"Easy EDD For Elementor - EDD Addon for Elementor. Make EDD more usable with Elementor." version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 detected1,197 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 206 | 295 | 1,173 |
JSON | 1 | 1 | 0 | 17 |
CSS | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 6 | 11.32% |
▷ Public methods | 40 | 75.47% |
▷ Protected methods | 4 | 7.55% |
▷ Private methods | 9 | 16.98% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin