Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.81ms] Passed 4 tests
This is a short check of server-side resources used by Order Status Customizer for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.03 | 44.65 ▲0.11 |
Dashboard /wp-admin | 3.37 ▼0.01 | 55.27 ▼11.64 |
Posts /wp-admin/edit.php | 3.49 ▲0.09 | 50.85 ▲0.56 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.03 | 88.15 ▼24.26 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 38.05 ▲2.16 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Order Status Customizer for Woocommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.01 ▼0.72 | 1.76 ▲0.04 | 45.44 ▲3.68 |
Dashboard /wp-admin | 2,192 ▲12 | 5.48 ▼0.20 | 88.47 ▲1.15 | 40.66 ▼3.82 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.03 ▲0.07 | 36.60 ▲2.61 | 33.55 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.42 ▲5.14 | 666.21 ▲29.91 | 59.52 ▼9.50 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.14 ▼0.25 | 101.08 ▼4.18 | 44.82 ▲0.48 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/order-status-customizer-for-woocommerce/admin/partials/woocommerce-order-status-customizer-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== order-status-customizer-for-woocommerce ===
)
order-status-customizer-for-woocommerce/woocommerce-order-status-customizer.php 77% from 13 tests
The main PHP script in "Order Status Customizer for Woocommerce" version 1.1.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: Required version does not match the one declared in readme.txt ("3.0.1" instead of "2.6.14")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("order-status-customizer-for-woocommerce.php" instead of "woocommerce-order-status-customizer.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
There were no executable files found in this plugin877 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 401 | 664 | 744 |
CSS | 1 | 8 | 4 | 78 |
JavaScript | 1 | 40 | 29 | 55 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 2 | 5.00% |
▷ Public methods | 35 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.50% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.14MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 64.27KB | 16.56KB | ▼ 74.24% |
assets/screenshot-1.png | 76.73KB | 19.87KB | ▼ 74.11% |