Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.56ms] Passed 4 tests
An overview of server-side resources used by Advanced Custom Order Status for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 38.96 ▲2.26 |
Dashboard /wp-admin | 3.40 ▲0.09 | 49.01 ▼0.83 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.81 ▲3.51 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.50 ▲0.22 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.96 ▲0.61 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 189 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Custom Order Status for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲57 | 14.24 ▼0.02 | 1.77 ▲0.18 | 37.71 ▲1.40 |
Dashboard /wp-admin | 2,210 ▲32 | 5.57 ▼0.15 | 99.78 ▼15.03 | 42.32 ▼1.63 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 1.98 ▲0.03 | 41.02 ▼0.94 | 38.88 ▲3.47 |
Add New Post /wp-admin/post-new.php | 1,441 ▼85 | 21.79 ▼1.36 | 551.37 ▼56.99 | 30.92 ▼19.31 |
Media Library /wp-admin/upload.php | 1,418 ▲21 | 4.15 ▼0.07 | 95.97 ▼6.41 | 37.25 ▼6.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 86× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'StorePlugin\\WcCustomOrderStatus\\Libs\\Exception\\GeneralExceptionInterface' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/includes/Libs/Exception/InvalidCallback.php:17
- > PHP Fatal error
Uncaught Error: Interface 'StorePlugin\\WcCustomOrderStatus\\Libs\\Exception\\GeneralExceptionInterface' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/includes/Libs/Exception/InvalidPath.php:17
- > PHP Fatal error
Uncaught Error: Interface 'StorePlugin\\WcCustomOrderStatus\\Libs\\Exception\\GeneralExceptionInterface' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/includes/Libs/Exception/InvalidService.php:17
- > PHP Fatal error
Uncaught Error: Interface 'DI\\Definition\\Source\\DefinitionSource' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/vendor/php-di/php-di/src/Definition/Source/SourceCache.php:14
- > PHP Fatal error
Uncaught Error: Interface 'StorePlugin\\WcCustomOrderStatus\\Libs\\Services\\ServiceInterface' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/includes/WcOrderStatus/RegisterOrderStatus.php:19
- > PHP Fatal error
Uncaught Error: Interface 'DI\\Definition\\Definition' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/vendor/php-di/php-di/src/Definition/FactoryDefinition.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerInterface' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/vendor/php-di/php-di/src/Container.php:39
- > PHP Fatal error
Uncaught Error: Interface 'DI\\Definition\\Source\\DefinitionSource' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/vendor/php-di/php-di/src/Definition/Source/MutableDefinitionSource.php:14
- > PHP Fatal error
Uncaught Error: Class 'StorePlugin\\WcCustomOrderStatus\\Libs\\Main\\AbstractMain' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/includes/Loader.php:24
- > PHP Fatal error
Uncaught Error: Interface 'StorePlugin\\WcCustomOrderStatus\\Libs\\Exception\\GeneralExceptionInterface' not found in wp-content/plugins/advanced-custom-order-status-for-woocommerce/includes/Libs/Exception/PluginActivationFailure.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: custom order status, order status, woocommerce
advanced-custom-order-status-for-woocommerce/advanced-custom-order-status-for-woocommerce.php Passed 13 tests
"Advanced Custom Order Status for WooCommerce" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
136 characters long description:
The Advanced Custom Order Status for WooCommerce plugin empowers users to effortlessly manage and customize Order Status in WooCommerce.
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
Good job! No executable or dangerous file extensions detected9,810 lines of code in 176 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 148 | 1,964 | 4,488 | 8,252 |
Markdown | 12 | 323 | 0 | 721 |
JSON | 7 | 0 | 0 | 501 |
CSS | 2 | 35 | 10 | 154 |
YAML | 3 | 9 | 1 | 132 |
XML | 2 | 9 | 3 | 33 |
JavaScript | 2 | 2 | 27 | 17 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 9.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 318.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 41 | |
Interfaces | 21 | |
Traits | 1 | |
Classes | 113 | |
▷ Abstract classes | 4 | 3.54% |
▷ Concrete classes | 109 | 96.46% |
▷ Final classes | 14 | 12.84% |
Methods | 551 | |
▷ Static methods | 70 | 12.70% |
▷ Public methods | 429 | 77.86% |
▷ Protected methods | 46 | 8.35% |
▷ Private methods | 76 | 13.79% |
Functions | 55 | |
▷ Named functions | 28 | 50.91% |
▷ Anonymous functions | 27 | 49.09% |
Constants | 27 | |
▷ Global constants | 6 | 22.22% |
▷ Class constants | 21 | 77.78% |
▷ Public constants | 19 | 90.48% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin