Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.29MB] [CPU: ▼6.32ms] Passed 4 tests
An overview of server-side resources used by Autocomplete Order Status for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.33 | 42.98 ▲3.62 |
Dashboard /wp-admin | 3.63 ▲0.28 | 50.53 ▼11.05 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 50.20 ▲0.04 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 84.19 ▼17.39 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 35.40 ▲3.14 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Autocomplete Order Status for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲115 | 13.37 ▼0.98 | 7.97 ▲6.12 | 43.66 ▼0.24 |
Dashboard /wp-admin | 2,199 ▲25 | 5.61 ▲0.02 | 89.83 ▼11.73 | 39.89 ▼2.84 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.95 ▼0.20 | 36.93 ▼0.62 | 33.54 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.10 ▲0.10 | 645.37 ▼44.09 | 55.95 ▲8.78 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.22 ▲0.08 | 96.35 ▼0.74 | 44.91 ▲1.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/autocomplete-wc-order-status/public/partials/autocomplete-woocommerce-order-status-public-display.php
- > /wp-content/plugins/autocomplete-wc-order-status/admin/partials/autocomplete-woocommerce-order-status-admin-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autocomplete-wc-order-status/includes/class-autocomplete-woocommerce-order-status-completed.php:6
- > PHP Fatal error
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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #1 in autocomplete-wc-order-status/assets to your readme.txt
autocomplete-wc-order-status/autocomplete-woocommerce-order-status.php 77% from 13 tests
The main file in "Autocomplete Order Status for WooCommerce" v. 1.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 256 characters long)
- 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
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("autocomplete-wc-order-status.php" instead of "autocomplete-woocommerce-order-status.php")
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
No dangerous file extensions were detected2,751 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 660 | 1,437 | 2,321 |
Markdown | 1 | 70 | 0 | 196 |
XML | 1 | 5 | 11 | 99 |
JSON | 3 | 0 | 0 | 97 |
YAML | 1 | 6 | 0 | 32 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 21 | 13.46% |
▷ Public methods | 114 | 73.08% |
▷ Protected methods | 6 | 3.85% |
▷ Private methods | 36 | 23.08% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 were not PNG files found in your plugin