Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲5.03MB] [CPU: ▲21.68ms] 75% from 4 tests
An overview of server-side resources used by Order Picking For WooCommerce
Please have a look at the following items
- Extra RAM: The extra memory usage must be under 5MB (currently 5.03MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 74.22 ▲32.70 |
Dashboard /wp-admin | 8.90 ▲5.55 | 75.07 ▲5.41 |
Posts /wp-admin/edit.php | 8.90 ▲5.54 | 84.93 ▲32.61 |
Add New Post /wp-admin/post-new.php | 9.49 ▲3.61 | 109.09 ▲15.98 |
Media Library /wp-admin/upload.php | 8.90 ▲5.67 | 69.82 ▲33.11 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.90 | 63.46 |
Server storage [IO: ▲3.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 200 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_active_plugins |
can_compress_scripts |
db_upgraded |
fs_debug_mode |
fs_accounts |
widget_recent-comments |
theysaidso_admin_options |
opfw_picking_statuses |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Order Picking For WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 14.47 ▲0.07 | 1.73 ▼0.25 | 31.52 ▼12.34 |
Dashboard /wp-admin | 2,233 ▲45 | 5.89 ▼0.01 | 104.51 ▼11.42 | 44.75 ▲3.04 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.97 ▼0.02 | 36.48 ▼3.55 | 41.37 ▲7.12 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 17.60 ▼5.40 | 690.54 ▲1.60 | 56.71 ▼1.61 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.25 ▲0.03 | 97.91 ▼18.85 | 44.98 ▼2.65 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,090 | 1.72 | 25.24 | 29.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/order-picking-for-woocommerce/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 10 options in the database
- theysaidso_admin_options
- widget_recent-posts
- fs_active_plugins
- db_upgraded
- fs_accounts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- opfw_picking_statuses
- fs_debug_mode
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/order-picking-for-woocommerce/public/partials/order-picking-for-woocommerce-public-display.php
- > /wp-content/plugins/order-picking-for-woocommerce/admin/partials/order-picking-for-woocommerce-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please describe screenshot #2 in order-picking-for-woocommerce/assets to your readme.txt
order-picking-for-woocommerce/order-picking-for-woocommerce.php Passed 13 tests
"Order Picking For WooCommerce" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
78 characters long description:
Order Picking For WooCommerce lets you fulfill your orders quickly and easily.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin35,701 lines of code in 150 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 132 | 8,169 | 18,146 | 34,332 |
JavaScript | 4 | 153 | 72 | 767 |
CSS | 14 | 79 | 9 | 602 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 79.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 1,329 | |
▷ Static methods | 198 | 14.90% |
▷ Public methods | 934 | 70.28% |
▷ Protected methods | 17 | 1.28% |
▷ Private methods | 378 | 28.44% |
Functions | 106 | |
▷ Named functions | 106 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 147 | |
▷ Global constants | 100 | 68.03% |
▷ Class constants | 47 | 31.97% |
▷ Public constants | 47 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |