Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/woocommerce-categories-menu/woocommerce-categories-menu.php+549
Methods with the same name as their class will not be constructors in a future version of PHP; WCCTM_Widget has a deprecated constructor
Server metrics [RAM: ▼1.66MB] [CPU: ▼51.71ms] Passed 4 tests
Server-side resources used by WooCommerce Categories Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.33 ▼1.14 | 10.53 ▼29.97 |
Dashboard /wp-admin | 2.35 ▼0.96 | 5.94 ▼43.55 |
Posts /wp-admin/edit.php | 2.35 ▼1.01 | 8.87 ▼38.43 |
Add New Post /wp-admin/post-new.php | 2.35 ▼3.54 | 6.77 ▼94.89 |
Media Library /wp-admin/upload.php | 2.35 ▼0.88 | 7.56 ▼25.51 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
widget_wcctm-widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Categories Menu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.25 ▼1.14 | 1.99 ▼0.09 | 42.79 ▲0.61 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼0.05 | 108.74 ▼5.54 | 41.19 ▼2.20 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.02 | 40.24 ▲1.92 | 35.37 ▼1.12 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 22.96 ▲4.61 | 645.67 ▼4.67 | 68.22 ▲3.11 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▼0.04 | 101.13 ▼1.71 | 41.87 ▼2.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/woocommerce-categories-menu/woocommerce-categories-menu.php+549
Methods with the same name as their class will not be constructors in a future version of PHP; WCCTM_Widget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_wcctm-widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-categories-menu/woocommerce-categories-menu.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Configuring shortcode on wp-admin), #2 (Configuring multiwidget on wp-admin), #3 (Displaying list menu on front-end), #4 (Displaying select menu on front-end)
woocommerce-categories-menu/woocommerce-categories-menu.php 92% from 13 tests
The main PHP script in "WooCommerce Categories Menu" version 1.2.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin779 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 72 | 779 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin