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: ▼0.10MB] [CPU: ▼10.87ms] Passed 4 tests
Server-side resources used by Quick/Bulk Order Form for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 37.53 ▼6.93 |
Dashboard /wp-admin | 3.27 ▼0.04 | 31.82 ▼17.15 |
Posts /wp-admin/edit.php | 3.34 ▼0.03 | 37.31 ▼11.42 |
Add New Post /wp-admin/post-new.php | 5.51 ▼0.38 | 78.55 ▼7.97 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 29.83 ▼2.05 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 107 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Quick/Bulk Order Form for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲11 | 14.27 ▼0.12 | 1.67 ▼0.06 | 37.94 ▼7.11 |
Dashboard /wp-admin | 2,203 ▲26 | 5.63 ▼0.03 | 92.88 ▼8.51 | 39.74 ▼5.35 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.02 ▼0.00 | 42.26 ▲3.89 | 38.28 ▲2.68 |
Add New Post /wp-admin/post-new.php | 1,534 ▲5 | 23.27 ▼0.07 | 644.72 ▼43.87 | 54.16 ▲3.42 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.18 ▼0.01 | 101.92 ▲5.60 | 41.97 ▼0.45 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/woocommerce-bulk-order-form/templates/form-footer.php
- > /wp-content/plugins/woocommerce-bulk-order-form/templates/form-header.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: count in wp-content/plugins/woocommerce-bulk-order-form/templates/form-content.php on line 1
- > PHP Notice
Undefined variable: is_variation in wp-content/plugins/woocommerce-bulk-order-form/templates/table-footer.php on line 4
- > PHP Notice
Undefined variable: template in wp-content/plugins/woocommerce-bulk-order-form/templates/form-header.php on line 1
- > PHP Notice
Undefined variable: formid in wp-content/plugins/woocommerce-bulk-order-form/templates/form-header.php on line 1
- > PHP Notice
Undefined variable: count in wp-content/plugins/woocommerce-bulk-order-form/templates/form-content.php on line 1
- > PHP Notice
Undefined variable: count in wp-content/plugins/woocommerce-bulk-order-form/templates/form-content.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/woocommerce-bulk-order-form/templates/form-content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/woocommerce-bulk-order-form/templates/table-footer.php:14
- > PHP Notice
Undefined variable: formid in wp-content/plugins/woocommerce-bulk-order-form/templates/form-content.php on line 1
- > PHP Notice
Undefined variable: formid in wp-content/plugins/woocommerce-bulk-order-form/templates/form-header.php on line 1
- > PHP Notice
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in woocommerce-bulk-order-form/assets to your readme.txt
- Donate link: Please fix this invalid url: ""
woocommerce-bulk-order-form/wc-bulk-order-form.php 85% from 13 tests
"Quick/Bulk Order Form for WooCommerce" version 3.6.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woocommerce-bulk-order-form.php" instead of "wc-bulk-order-form.php")
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "3.0")
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
There were no executable files found in this plugin13,142 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 16 | 2,425 | 4,162 | 4,555 |
JavaScript | 10 | 778 | 1,156 | 4,222 |
PHP | 32 | 718 | 1,053 | 3,285 |
CSS | 7 | 105 | 89 | 1,080 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 21.23 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 1 | 4.55% |
▷ Concrete classes | 21 | 95.45% |
▷ Final classes | 0 | 0.00% |
Methods | 191 | |
▷ Static methods | 15 | 7.85% |
▷ Public methods | 170 | 89.01% |
▷ Protected methods | 10 | 5.24% |
▷ Private methods | 11 | 5.76% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 35 | |
▷ Global constants | 35 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/css/input-unchecked.png | 0.15KB | 0.15KB | 0.00% |
assets/css/input-checked.png | 0.31KB | 0.32KB | 0.00% |
includes/css/input-checked.png | 0.31KB | 0.32KB | 0.00% |
assets/css/input-unchecked.png | 0.15KB | 0.15KB | 0.00% |
assets/images/wpo-helper.png | 17.86KB | 5.25KB | ▼ 70.62% |