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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.62ms] Passed 4 tests
A check of server-side resources used by WooCommerce Manual Payment
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.55 ▼2.84 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.78 ▲0.02 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.40 ▼0.59 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 80.69 ▼11.08 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.41 ▲3.72 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 137 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Manual Payment
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.19 ▼0.39 | 1.80 ▲0.05 | 45.59 ▲2.23 |
Dashboard /wp-admin | 2,198 ▲24 | 5.55 ▼0.04 | 82.82 ▼8.55 | 38.83 ▼1.06 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 1.99 ▲0.01 | 35.37 ▼0.55 | 32.83 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,539 ▲10 | 23.39 ▲0.20 | 674.11 ▼17.88 | 54.63 ▼5.66 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▼0.00 | 94.34 ▼15.77 | 40.85 ▼7.37 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/woo-mp/templates/notice-template.php
- 40× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Eway\\Rapid\\Contract\\Arrayable' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Model/AbstractModel.php:14
- > PHP Fatal error
Trait 'Eway\\Rapid\\Model\\Support\\CanGetClassTrait' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Enum/AbstractEnum.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'Eway\\Rapid\\Enum\\AbstractEnum' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Enum/FraudAction.php:8
- > PHP Fatal error
Uncaught Error: Class 'Eway\\Rapid\\Model\\Response\\AbstractResponse' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Model/Response/RefundResponse.php:26
- > PHP Fatal error
Uncaught Error: Class 'Eway\\Rapid\\Model\\AbstractModel' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Model/Refund.php:27
- > PHP Fatal error
Uncaught Error: Class 'Eway\\Rapid\\Model\\Response\\AbstractResponse' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Model/Response/CreateCustomerResponse.php:33
- > PHP Fatal error
Uncaught Error: Class 'Eway\\Rapid\\Enum\\AbstractEnum' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Enum/BeagleVerifyStatus.php:8
- > PHP Fatal error
Uncaught Error: Class 'Eway\\Rapid\\Model\\Response\\AbstractResponse' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Model/Response/QueryCustomerResponse.php:14
- > PHP Fatal error
Uncaught Error: Class 'Eway\\Rapid\\Enum\\AbstractEnum' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Enum/ShippingMethod.php:8
- > PHP Fatal error
Uncaught Error: Class 'Eway\\Rapid\\Enum\\AbstractEnum' not found in wp-content/plugins/woo-mp/includes/payment-gateways/eway/libraries/eway-rapid-php-1.4.1/src/Rapid/Enum/VerifyStatus.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
woo-mp/woo-mp.php 92% from 13 tests
"WooCommerce Manual Payment" version 2.8.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.7" instead of "3.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin9,267 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 124 | 1,342 | 3,150 | 7,946 |
JavaScript | 5 | 151 | 11 | 578 |
CSS | 3 | 92 | 0 | 411 |
INI | 1 | 0 | 0 | 313 |
Markdown | 1 | 2 | 0 | 19 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 4.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 6 | |
Traits | 16 | |
Classes | 84 | |
▷ Abstract classes | 17 | 20.24% |
▷ Concrete classes | 67 | 79.76% |
▷ Final classes | 0 | 0.00% |
Methods | 379 | |
▷ Static methods | 39 | 10.29% |
▷ Public methods | 285 | 75.20% |
▷ Protected methods | 17 | 4.49% |
▷ Private methods | 77 | 20.32% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 108 | |
▷ Global constants | 9 | 8.33% |
▷ Class constants | 99 | 91.67% |
▷ Public constants | 99 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected