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.06MB] [CPU: ▼10.10ms] Passed 4 tests
Analyzing server-side resources used by Order Status Control for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.14 ▼5.91 |
Dashboard /wp-admin | 3.37 ▲0.02 | 44.91 ▼16.15 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.90 ▼0.04 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.95 ▼17.57 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.84 ▼0.76 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 21 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 Order Status Control for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.62 ▲0.25 | 1.69 ▼0.09 | 38.77 ▼4.02 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▲0.02 | 87.76 ▲0.84 | 40.51 ▲0.21 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.02 | 38.86 ▼3.84 | 37.20 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.15 ▲0.05 | 674.74 ▲13.85 | 63.52 ▲3.99 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.20 ▼0.01 | 96.02 ▼6.98 | 39.84 ▼5.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add a description for screenshot #1 in order-status-control-for-woocommerce/assets to your readme.txt
order-status-control-for-woocommerce/bv-order-status.php 69% from 13 tests
The main PHP script in "Order Status Control for WooCommerce" version 1.0.2 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.8" instead of "5.3")
- 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
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("order-status-control-for-woocommerce.php" instead of "bv-order-status.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,284 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 224 | 576 | 856 |
CSS | 1 | 16 | 10 | 305 |
JSON | 3 | 0 | 0 | 99 |
JavaScript | 1 | 7 | 3 | 24 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 16.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 61 | |
▷ Static methods | 26 | 42.62% |
▷ Public methods | 58 | 95.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.92% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin