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.05MB] [CPU: ▼4.35ms] Passed 4 tests
This is a short check of server-side resources used by Magical Products Display – Elementor Products Widgets For WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.87 ▼6.49 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.49 ▼1.42 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.37 ▼5.45 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.07 ▼4.03 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.31 ▲0.81 |
Server storage [IO: ▲1.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Magical Products Display – Elementor Products Widgets For WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲46 | 14.22 ▼0.18 | 1.78 ▲0.14 | 42.41 ▼3.25 |
Dashboard /wp-admin | 2,213 ▲43 | 5.64 ▼0.04 | 90.38 ▼21.88 | 41.17 ▼5.73 |
Posts /wp-admin/edit.php | 2,118 ▲21 | 1.99 ▲0.02 | 41.02 ▲1.01 | 37.19 ▲2.74 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.13 ▲0.01 | 596.10 ▼37.11 | 48.89 ▼7.37 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.17 ▼0.11 | 97.34 ▼2.58 | 42.84 ▲0.35 |
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: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/magical-products-display/includes/widgets/products-awesome-list.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magical-products-display/includes/admin-rev-info.php:81
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/magical-products-display/includes/widgets/products-carousel.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/magical-products-display/includes/widgets/porducts-cat.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/magical-products-display/includes/widgets/accordion-widget.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/magical-products-display/includes/widgets/products-tab.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/magical-products-display/includes/widgets/pricing-table.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/magical-products-display/includes/widgets/products-list.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/magical-products-display/includes/widgets/products-grid.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magical-products-display/includes/assets-managment.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #3, #4 in magical-products-display/assets to your readme.txt
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
magical-products-display/magical-products-display.php Passed 13 tests
"Magical Products Display – Elementor Products Widgets For WooCommerce" version 1.1.12's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
74 characters long description:
Customizable Elementor Widgets for Beautiful WooCommerce Product Displays.
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
Good job! No executable or dangerous file extensions detected22,847 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 1,769 | 1,538 | 17,906 |
CSS | 13 | 651 | 84 | 4,675 |
JavaScript | 10 | 70 | 37 | 266 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 32.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 146 | |
▷ Static methods | 7 | 4.79% |
▷ Public methods | 110 | 75.34% |
▷ Protected methods | 36 | 24.66% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 22 | 91.67% |
▷ Anonymous functions | 2 | 8.33% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin