Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.14ms] Passed 4 tests
An overview of server-side resources used by Sales Order Report for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.01 ▼4.33 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.45 ▼20.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.93 ▼5.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.86 ▼9.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.64 ▲3.56 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 47 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_esc_user_cart_event |
wp_esc_user_behavior |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
esc_migration_db |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Sales Order Report for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.60 ▼0.78 | 2.16 ▲0.19 | 43.18 ▼4.53 |
Dashboard /wp-admin | 2,221 ▲54 | 5.88 ▲0.18 | 106.83 ▼10.39 | 41.52 ▼2.29 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.01 | 39.64 ▼0.54 | 34.58 ▼4.96 |
Add New Post /wp-admin/post-new.php | 1,541 ▼4 | 23.24 ▼0.02 | 692.93 ▲1.65 | 52.83 ▼11.55 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▼0.01 | 99.92 ▼8.52 | 43.23 ▼4.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_esc_user_cart_event
- wp_esc_user_behavior
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- esc_migration_db
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Esoftcreator_Helper' not found in wp-content/plugins/sales-order-report-for-woocommerce/admin/partials/common/class-esoftcreator-global.php:7
- > PHP Fatal error
Uncaught Error: Class 'Esoftcreator_Helper' not found in wp-content/plugins/sales-order-report-for-woocommerce/admin/partials/common/class-esoftcreator-header.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sales-order-report-for-woocommerce/admin/partials/common/class-esoftcreator-footer.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
- Donate link: Invalid url: ""
- Requires php: The plugin version is formatted incorrectly
sales-order-report-for-woocommerce/sales-order-report-for-woocommerce.php 85% from 13 tests
The main PHP file in "Sales Order Report for WooCommerce" ver. 2.1.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0.0" instead of "1.4.1")
- Description: Keep the plugin description shorter than 140 characters (currently 250 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin19,569 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 604 | 409 | 15,959 |
PHP | 22 | 228 | 728 | 2,449 |
CSS | 3 | 108 | 68 | 905 |
PO File | 2 | 112 | 260 | 256 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 14.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 2 | 1.98% |
▷ Public methods | 94 | 93.07% |
▷ Protected methods | 3 | 2.97% |
▷ Private methods | 4 | 3.96% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icon.png | 1.77KB | 1.04KB | ▼ 41.19% |
admin/images/rate-us.png | 11.33KB | 5.26KB | ▼ 53.55% |
admin/images/caret-down.png | 0.20KB | 0.17KB | ▼ 11.88% |
admin/images/claendar-icon.png | 0.29KB | 0.23KB | ▼ 21.67% |