Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.45MB] [CPU: ▲2.70ms] 75% from 4 tests
Server-side resources used by Checkout Field Manager (Checkout Manager) for WooCommerce
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 741.21ms on /wp-admin/admin.php?page=wc-settings_suggestions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.45 | 44.22 ▲4.97 |
Dashboard /wp-admin | 3.84 ▲0.49 | 50.61 ▼9.89 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 53.08 ▲9.42 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.43 | 99.50 ▲10.61 |
Media Library /wp-admin/upload.php | 3.65 ▲0.43 | 39.22 ▲6.31 |
Suggestions /wp-admin/admin.php?page=wc-settings_suggestions | 4.19 | 741.21 |
Server storage [IO: ▲0.88MB] [DB: ▲0.06MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 141 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Checkout Field Manager (Checkout Manager) for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲141 | 14.24 ▼0.20 | 1.76 ▼0.06 | 44.38 ▼0.14 |
Dashboard /wp-admin | 2,315 ▲137 | 5.61 ▼0.12 | 91.19 ▼21.35 | 41.42 ▼4.26 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.97 ▼0.06 | 41.19 ▲5.76 | 36.26 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.30 ▲0.21 | 591.22 ▼103.19 | 47.97 ▼6.15 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.31 ▲0.14 | 102.20 ▲4.67 | 42.42 ▼1.09 |
Suggestions /wp-admin/admin.php?page=wc-settings_suggestions | 1,960 | 2.47 | 35.39 | 56.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/woocommerce-checkout-manager/woocommerce-checkout-manager.php
- 54× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WOOCCM\\Controller\\Field' not found in wp-content/plugins/woocommerce-checkout-manager/lib/controller/class-field-additional.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/woocommerce-checkout-manager/lib/view/backend/pages/parts/loop.php:4
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WOOCCM\\Model\\Field' not found in wp-content/plugins/woocommerce-checkout-manager/lib/model/class-field-shipping.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function QuadLayers\\WOOCCM\\load_plugin_textdomain() in wp-content/plugins/woocommerce-checkout-manager/lib/class-plugin.php:21
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-plugin-install-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/woocommerce-checkout-manager/jetpack_vendor/quadlayers/wp-plugin-suggestions/src/Table.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/woocommerce-checkout-manager/lib/view/backend/pages/parts/tabs.php:2
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WOOCCM\\Model\\Field' not found in wp-content/plugins/woocommerce-checkout-manager/lib/model/class-field-additional.php:12
- > PHP Fatal error
Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginActions' not found in wp-content/plugins/woocommerce-checkout-manager/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginBySlugV2.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WOOCCM\\Controller\\Controller' not found in wp-content/plugins/woocommerce-checkout-manager/lib/controller/class-field.php:22
- > PHP Fatal error
Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginActions' not found in wp-content/plugins/woocommerce-checkout-manager/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginBySlug.php on line 20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
woocommerce-checkout-manager/woocommerce-checkout-manager.php 92% from 13 tests
The primary PHP file in "Checkout Field Manager (Checkout Manager) for WooCommerce" version 7.3.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.7" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected9,352 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 103 | 1,568 | 2,220 | 7,406 |
JavaScript | 6 | 52 | 103 | 756 |
Markdown | 12 | 270 | 0 | 730 |
JSON | 1 | 0 | 0 | 458 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 48 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 48 | 100.00% |
▷ Final classes | 1 | 2.08% |
Methods | 356 | |
▷ Static methods | 81 | 22.75% |
▷ Public methods | 309 | 86.80% |
▷ Protected methods | 21 | 5.90% |
▷ Private methods | 26 | 7.30% |
Functions | 29 | |
▷ Named functions | 2 | 6.90% |
▷ Anonymous functions | 27 | 93.10% |
Constants | 25 | |
▷ Global constants | 25 | 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
2 compressed PNG files occupy 0.15MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/backend/img/admin.png | 28.04KB | 29.00KB | 0.00% |
assets/backend/img/fees.png | 124.68KB | 128.51KB | 0.00% |