Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.23ms] Passed 4 tests
This is a short check of server-side resources used by Ultimate Order Combination
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.90 ▼3.21 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.53 ▼11.98 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.23 ▼15.40 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.53 ▼4.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 30.86 ▼5.10 |
Server storage [IO: ▲5.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Ultimate Order Combination: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.37 ▼0.03 | 1.76 ▲0.06 | 37.13 ▼11.69 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▲0.04 | 95.68 ▼6.97 | 42.53 ▼2.57 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.00 | 38.57 ▼5.67 | 34.76 ▼6.15 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.33 ▲0.06 | 700.26 ▲13.84 | 60.73 ▲3.63 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.12 ▼0.09 | 96.61 ▼17.00 | 42.08 ▼5.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-ultimate-order-combination/inc/wuoc-emails.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-ultimate-order-combination/inc/functions-essentials.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/woo-ultimate-order-combination/inc/wuoc_settings.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: combine, merge, consolidate, orders, woocommerce
woo-ultimate-order-combination/index.php 85% from 13 tests
"Ultimate Order Combination" version 1.7.0'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: Name the main plugin file the same as the plugin slug ("woo-ultimate-order-combination.php" instead of "index.php")
- 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
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
Success! There were no dangerous files found in this plugin28,341 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 3,400 | 2,253 | 14,756 |
SVG | 4 | 0 | 0 | 9,547 |
PHP | 6 | 1,393 | 170 | 2,219 |
PO File | 3 | 480 | 544 | 1,179 |
CSS | 7 | 109 | 21 | 640 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 145.00 |
▷ Minimum class complexity | 112.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 9.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 43 | |
▷ Named functions | 39 | 90.70% |
▷ Anonymous functions | 4 | 9.30% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon-128x128.png | 21.30KB | 8.63KB | ▼ 59.46% |
img/woo.png | 6.68KB | 3.20KB | ▼ 52.07% |