Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.66ms] Passed 4 tests
A check of server-side resources used by Order Item Notes For WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.60 ▲0.98 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.35 ▼11.27 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.61 ▼1.93 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 97.95 ▼11.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.23 ▼1.52 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Order Item Notes For WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.00 | 1.54 ▼0.21 | 40.48 ▼0.78 |
Dashboard /wp-admin | 2,195 ▲21 | 5.63 ▼0.04 | 85.44 ▼15.10 | 41.53 ▼3.68 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 39.16 ▼5.76 | 34.43 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,535 ▲1 | 18.32 ▼4.98 | 617.19 ▼44.14 | 66.13 ▲6.62 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.21 ▲0.01 | 105.16 ▼2.64 | 45.15 ▼4.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: notes, woocommerce
order-item-notes-for-woocommerce/order-item-notes-for-woocommerce.php Passed 13 tests
The principal PHP file in "Order Item Notes For WooCommerce" v. 1.1.1 is loaded by WordPress automatically on each request
84 characters long description:
A WooCommerce plugin to add notes or comments to individual order items of an order.
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 plugin650 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 121 | 0 | 553 |
PHP | 1 | 18 | 23 | 77 |
PO File | 1 | 2 | 1 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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 | 0 | |
▷ Global constants | 0 | 0.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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 1.09KB | 0.46KB | ▼ 57.63% |
assets/icon-256x256.png | 1.73KB | 0.70KB | ▼ 59.53% |
assets/screenshot-1.png | 17.48KB | 16.51KB | ▼ 5.55% |