Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲1.57MB] [CPU: ▲6.36ms] Passed 4 tests
Analyzing server-side resources used by Custom Order Status Manager for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.04 ▲1.58 | 48.92 ▲3.05 |
Dashboard /wp-admin | 4.88 ▲1.57 | 58.92 ▲8.12 |
Posts /wp-admin/edit.php | 4.93 ▲1.57 | 61.21 ▲13.04 |
Add New Post /wp-admin/post-new.php | 7.48 ▲1.59 | 97.66 ▲1.23 |
Media Library /wp-admin/upload.php | 4.80 ▲1.57 | 56.98 ▲26.09 |
Server storage [IO: ▲1.56MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 157 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
bp_custom_order_status_installed |
db_upgraded |
widget_theysaidso_widget |
rdn_fetch_14725b97 |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Order Status Manager for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲28 | 14.34 ▲0.06 | 1.75 ▼0.20 | 40.82 ▼3.42 |
Dashboard /wp-admin | 2,205 ▲27 | 5.65 ▼0.07 | 88.58 ▼14.96 | 41.98 ▼1.24 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.02 ▲0.06 | 42.07 ▲3.82 | 36.99 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.06 ▼0.10 | 695.80 ▲67.96 | 57.02 ▲6.82 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.19 ▼0.04 | 98.81 ▼1.76 | 45.99 ▼0.08 |
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 does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- bp_custom_order_status_installed
- rdn_fetch_14725b97
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bp-custom-order-status-for-woocommerce/include/functions.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bp-custom-order-status-for-woocommerce/include/dokan.php:3
- > PHP Fatal error
Uncaught Error: Class 'WC_Email' not found in wp-content/plugins/bp-custom-order-status-for-woocommerce/src/emails/class-wcbv-order-status-email.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in bp-custom-order-status-for-woocommerce/assets to your readme.txt
bp-custom-order-status-for-woocommerce/main.php 69% from 13 tests
"Custom Order Status Manager for WooCommerce" version 1.1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- 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
- Requires PHP: The required version number must match the one declared in readme.txt ("7.4" instead of "7.2.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bp-custom-order-status-for-woocommerce.php" instead of "main.php")
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "4.9")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected34,862 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 114 | 4,026 | 2,584 | 17,519 |
JavaScript | 7 | 1,317 | 506 | 6,616 |
Sass | 16 | 970 | 3 | 5,674 |
CSS | 4 | 376 | 509 | 4,872 |
JSON | 4 | 3 | 0 | 163 |
XML | 1 | 0 | 0 | 16 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 24.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 5.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 2 | 2.60% |
▷ Concrete classes | 75 | 97.40% |
▷ Final classes | 2 | 2.67% |
Methods | 381 | |
▷ Static methods | 71 | 18.64% |
▷ Public methods | 361 | 94.75% |
▷ Protected methods | 13 | 3.41% |
▷ Private methods | 7 | 1.84% |
Functions | 38 | |
▷ Named functions | 29 | 76.32% |
▷ Anonymous functions | 9 | 23.68% |
Constants | 5 | |
▷ Global constants | 5 | 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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bp-logo.png | 4.99KB | 2.68KB | ▼ 46.35% |
include/codestar/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
assets/img/bp-logo-icon.png | 1.09KB | 0.87KB | ▼ 20.45% |