Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.77ms] Passed 4 tests
Analyzing server-side resources used by Custom Order Status for WooCommerce - Create and manage custom order status for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.93 ▼9.43 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.59 ▲0.93 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.12 ▼4.70 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.05 ▼13.89 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.48 ▲4.26 |
Custom Order Status /wp-admin/edit.php?post_type=woocos_order_status | 3.32 | 38.27 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Order Status for WooCommerce - Create and manage custom order status for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲56 | 13.20 ▼1.48 | 1.92 ▼0.06 | 40.91 ▼0.63 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▲0.96 | 104.92 ▼11.87 | 39.05 ▼2.22 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.05 ▲0.03 | 36.64 ▼3.61 | 33.14 ▼3.96 |
Add New Post /wp-admin/post-new.php | 1,533 ▼3 | 23.04 ▼0.21 | 672.07 ▲34.12 | 53.07 ▲3.08 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.24 ▲0.06 | 100.12 ▼10.29 | 41.27 ▼2.04 |
Custom Order Status /wp-admin/edit.php?post_type=woocos_order_status | 1,052 | 2.06 | 31.35 | 32.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-order-status-for-woocommerce/inc/class-admin-panel.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/custom-order-status-for-woocommerce/woo-custom-order-status.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: order, custom order, custom order status, status, woocommerce...
custom-order-status-for-woocommerce/woo-custom-order-status.php 77% from 13 tests
The main file in "Custom Order Status for WooCommerce - Create and manage custom order status for WooCommerce" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- 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 ("custom-order-status-for-woocommerce.php" instead of "woo-custom-order-status.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected12,318 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 12,080 |
PHP | 3 | 49 | 74 | 153 |
JavaScript | 2 | 14 | 60 | 65 |
Markdown | 1 | 9 | 0 | 20 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 3 | 23.08% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
PNG images were not found in this plugin