Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▲1.53ms] Passed 4 tests
An overview of server-side resources used by Checkout Manager for Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 44.40 ▲5.56 |
Dashboard /wp-admin | 3.57 ▲0.27 | 52.15 ▲1.15 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 48.47 ▼3.41 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 98.99 ▲2.81 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 39.25 ▲7.11 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checkout Manager for Woocommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.56 ▼0.81 | 1.66 ▼0.13 | 44.05 ▼3.77 |
Dashboard /wp-admin | 2,202 ▲14 | 5.83 ▲0.71 | 114.04 ▼3.54 | 88.49 ▲46.87 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.01 ▼0.01 | 36.44 ▼0.62 | 31.40 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,533 ▼4 | 23.10 ▼0.14 | 763.26 ▲111.96 | 58.62 ▲2.29 |
Media Library /wp-admin/upload.php | 1,402 ▲20 | 4.25 ▲0.02 | 115.31 ▲17.60 | 45.98 ▲3.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 18× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/checkout-manager/views/admin/checkout/shipping-fields.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/checkout-manager/views/admin/settings.php:2
- > PHP Notice
Undefined variable: order in wp-content/plugins/checkout-manager/views/front/checkout/custom-fields.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/checkout-manager/views/email/email-fields.php:8
- > PHP Notice
Undefined variable: order in wp-content/plugins/checkout-manager/views/email/email-fields.php on line 4
- > PHP Notice
Undefined variable: order in wp-content/plugins/checkout-manager/views/front/checkout/custom-fields.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/checkout-manager/views/admin/checkout/billing-fields.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/checkout-manager/views/front/checkout/custom-fields.php:8
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/checkout-manager/views/admin/checkout/billing-fields.php on line 2
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/checkout-manager/views/email/email-fields.php on line 2
- > PHP Warning
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: woocommerce custom checkout fields, checkout field customizer, checkout field editor, woocommerce checkout manager, woocommerce checkout field editor...
checkout-manager/checkout-manager.php 92% from 13 tests
The main PHP file in "Checkout Manager for Woocommerce" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
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 detected5,269 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 92 | 78 | 2,130 |
PHP | 30 | 413 | 566 | 2,098 |
JavaScript | 6 | 188 | 171 | 1,020 |
JSON | 2 | 1 | 0 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 1 | 5.88% |
Methods | 102 | |
▷ Static methods | 12 | 11.76% |
▷ Public methods | 82 | 80.39% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 19.61% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 1.45KB | 1.24KB | ▼ 14.81% |