Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.25ms] Passed 4 tests
Analyzing server-side resources used by Order Status History for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.93 ▼0.39 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.37 ▼14.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.54 ▼4.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.71 ▼19.49 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.71 ▼2.74 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Order Status History for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲26 | 14.49 ▼0.09 | 2.19 ▲0.25 | 49.80 ▲6.20 |
Dashboard /wp-admin | 2,203 ▲26 | 5.56 ▼0.09 | 84.76 ▼2.06 | 40.12 ▼2.88 |
Posts /wp-admin/edit.php | 2,088 ▼12 | 2.04 ▲0.05 | 35.06 ▼2.57 | 34.49 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.18 ▲0.18 | 576.73 ▼84.95 | 63.06 ▼3.48 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.22 ▲0.01 | 100.56 ▼4.26 | 44.85 ▲0.88 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function oshwoo\\plugin_basename() in wp-content/plugins/order-status-history-for-woocommerce/includes/constants.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function oshwoo\\add_meta_box() in wp-content/plugins/order-status-history-for-woocommerce/includes/parts/donation_box.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 on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: past orders, woocommerce orders, woocommerce history, order status, woocommerce order history
order-status-history-for-woocommerce/order-status-history-for-woocommerce.php Passed 13 tests
"Order Status History for WooCommerce" version 1.8.6.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
55 characters long description:
WooCommerce plugin for Order Status History and Reports
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,588 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 311 | 532 | 1,962 |
PO File | 1 | 116 | 182 | 284 |
JavaScript | 4 | 31 | 75 | 248 |
CSS | 1 | 9 | 35 | 94 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 114.00 |
▷ Minimum class complexity | 114.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 2 | 5.56% |
▷ Public methods | 34 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.56% |
Functions | 30 | |
▷ Named functions | 14 | 46.67% |
▷ Anonymous functions | 16 | 53.33% |
Constants | 29 | |
▷ Global constants | 6 | 20.69% |
▷ Class constants | 23 | 79.31% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/default.png | 2.77KB | 2.73KB | ▼ 1.66% |