Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▲0.76MB] [CPU: ▼1.18ms] Passed 4 tests
This is a short check of server-side resources used by WPPDEV WooCommerce Order Status
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.18 ▲0.72 | 50.67 ▼11.78 |
Dashboard /wp-admin | 4.07 ▲0.72 | 73.70 ▲6.12 |
Posts /wp-admin/edit.php | 4.18 ▲0.83 | 57.11 ▲7.36 |
Add New Post /wp-admin/post-new.php | 6.72 ▲0.84 | 91.94 ▼6.28 |
Media Library /wp-admin/upload.php | 4.00 ▲0.77 | 45.31 ▲7.22 |
Server storage [IO: ▲6.29MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 399 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPPDEV WooCommerce Order Status
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.74 ▲0.36 | 1.84 ▼0.30 | 42.79 ▼3.23 |
Dashboard /wp-admin | 2,203 ▲12 | 5.94 ▲0.06 | 116.15 ▲10.54 | 43.52 ▲3.11 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.01 ▼0.01 | 36.70 ▼1.95 | 34.97 ▼2.88 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.20 ▲0.20 | 589.76 ▼90.90 | 60.87 ▲3.81 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.17 ▲0.01 | 97.67 ▼23.96 | 41.81 ▼7.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
The following issues need your attention
- 231× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php:32
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/wpplugindev/framework/vendor/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Processor\\MemoryProcessor' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/wpplugindev/framework/vendor/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php:20
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/wpplugindev/framework/vendor/monolog/monolog/src/Monolog/Handler/SlackHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\GroupHandler' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/wpplugindev/framework/vendor/monolog/monolog/src/Monolog/Handler/FallbackGroupHandler.php:25
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractSyslogHandler' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/wpplugindev/framework/vendor/monolog/monolog/src/Monolog/Handler/SyslogHandler.php:30
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/wpplugindev/framework/vendor/monolog/monolog/src/Monolog/Handler/SamplingHandler.php:33
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/wpplugindev/framework/vendor/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/wppdev-woocommerce-order-status/vendor/wpplugindev/framework/vendor/monolog/monolog/src/Monolog/Processor/UidProcessor.php:21
- > PHP Fatal error
Uncaught Error: Class 'WPPluginsDev\\WooOrderWorkflow\\Models\\Model_Status' not found in wp-content/plugins/wppdev-woocommerce-order-status/app/Models/Status/Model_Status_ManufactoryDef.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: woocommerce order status, order workflow, custom order status, order status, order fulfillment...
wppdev-woocommerce-order-status/wppdev-woocommerce-order-status.php 92% from 13 tests
Analyzing the main PHP file in "WPPDEV WooCommerce Order Status" version 1.1.1
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/app/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin20,956 lines of code in 251 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 194 | 3,945 | 9,618 | 15,824 |
JavaScript | 36 | 299 | 331 | 2,418 |
CSS | 3 | 200 | 94 | 949 |
Markdown | 5 | 210 | 0 | 676 |
JSON | 6 | 0 | 0 | 477 |
PO File | 3 | 181 | 209 | 424 |
Sass | 2 | 34 | 0 | 159 |
TypeScript | 1 | 3 | 1 | 18 |
XML | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 29 | |
Interfaces | 20 | |
Traits | 14 | |
Classes | 271 | |
▷ Abstract classes | 16 | 5.90% |
▷ Concrete classes | 255 | 94.10% |
▷ Final classes | 6 | 2.35% |
Methods | 1,878 | |
▷ Static methods | 296 | 15.76% |
▷ Public methods | 1,384 | 73.70% |
▷ Protected methods | 359 | 19.12% |
▷ Private methods | 135 | 7.19% |
Functions | 44 | |
▷ Named functions | 2 | 4.55% |
▷ Anonymous functions | 42 | 95.45% |
Constants | 224 | |
▷ Global constants | 4 | 1.79% |
▷ Class constants | 220 | 98.21% |
▷ Public constants | 166 | 75.45% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin