Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼145.97ms] Passed 4 tests
An overview of server-side resources used by Checkout Manager For Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.11 | 31.05 ▲6.71 |
Dashboard /wp-admin | 3.18 ▲0.11 | 36.21 ▼5.51 |
Posts /wp-admin/edit.php | 3.23 ▲0.12 | 32.79 ▼3.89 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.10 | 70.63 ▼573.77 |
Media Library /wp-admin/upload.php | 3.12 ▲0.11 | 25.69 ▼0.69 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Checkout Manager For Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,673 ▲22 | 15.57 ▼0.41 | 5.75 ▲0.28 | 78.06 ▲1.32 |
Dashboard /wp-admin | 2,934 ▲38 | 6.11 ▼0.07 | 115.68 ▼14.28 | 166.07 ▼7.90 |
Posts /wp-admin/edit.php | 2,747 ▲7 | 3.36 ▼0.01 | 63.55 ▲3.44 | 142.19 ▲3.55 |
Add New Post /wp-admin/post-new.php | 3,740 ▼1 | 17.99 ▼1.05 | 404.03 ▼18.81 | 157.11 ▼16.60 |
Media Library /wp-admin/upload.php | 1,759 ▲4 | 5.53 ▲0.01 | 143.87 ▲1.72 | 185.22 ▼1.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 take a closer look at the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_shipping.php
- > /wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_additional.php
- > /wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_billing.php
- 39× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_shipping.php on line 19
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_billing.php on line 4
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_billing.php on line 44
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_additional.php on line 49
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_billing.php on line 40
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_shipping.php on line 63
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_shipping.php on line 60
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_billing.php on line 13
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_billing.php on line 63
- > PHP Notice
Undefined variable: loop in wp-content/plugins/checkout-manager-for-woocommerce/templates/admin/add_field_form_billing.php on line 66
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 30 tag instead of maximum 10
checkout-manager-for-woocommerce/plugin.php 62% from 13 tests
The entry point to "Checkout Manager For Woocommerce" version 1.3.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "2.6.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("checkout-manager-for-woocommerce.php" instead of "plugin.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,593 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 1,068 | 66 | 1,593 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 108)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 113.00 |
▷ Minimum class complexity | 113.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 23.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 108.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo-wp.png | 1.20KB | 0.57KB | ▼ 52.72% |
assets/img/image-frame-odd.png | 0.90KB | 0.81KB | ▼ 10.31% |
assets/img/head-arrow.png | 1.68KB | 1.43KB | ▼ 14.83% |
assets/img/checkout-mamnger-thrd-img.png | 21.83KB | 5.92KB | ▼ 72.88% |
assets/img/premium-btn.png | 5.72KB | 5.28KB | ▼ 7.69% |