Benchmarks
Plugin footprint 83% 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.24MB] [CPU: ▼4.87ms] Passed 4 tests
An overview of server-side resources used by Checkout Field Editor for WooCommerce - Checkout Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 40.78 ▲1.78 |
Dashboard /wp-admin | 3.57 ▲0.23 | 52.01 ▼11.18 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 49.80 ▲2.96 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 86.92 ▼11.98 |
Media Library /wp-admin/upload.php | 3.49 ▲0.27 | 39.51 ▲1.90 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
awcfe_install_date |
awcfe_version |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Checkout Field Editor for WooCommerce - Checkout Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.27 ▼0.09 | 1.65 ▲0.10 | 44.58 ▲6.66 |
Dashboard /wp-admin | 2,200 ▲26 | 5.57 ▲0.00 | 84.20 ▼4.60 | 41.02 ▲1.12 |
Posts /wp-admin/edit.php | 2,105 ▲8 | 2.03 ▲0.04 | 34.21 ▼2.75 | 34.47 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.05 ▼0.11 | 670.18 ▲10.34 | 53.56 ▲0.17 |
Media Library /wp-admin/upload.php | 1,402 ▲8 | 4.17 ▲0.02 | 92.34 ▼10.47 | 42.67 ▼4.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-comments
- can_compress_scripts
- awcfe_version
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- awcfe_install_date
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'AWCFE_Ml' not found in wp-content/plugins/checkout-field-editor-and-manager-for-woocommerce/includes/views/admin-root.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/checkout-field-editor-and-manager-for-woocommerce/start.php:24
- > PHP Fatal error
Uncaught Error: Class 'AWCFE_Ml' not found in wp-content/plugins/checkout-field-editor-and-manager-for-woocommerce/includes/views/admin-settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Donate link: Please fix this invalid URI: ""
checkout-field-editor-and-manager-for-woocommerce/start.php 92% from 13 tests
The primary PHP file in "Checkout Field Editor for WooCommerce - Checkout Manager" version 2.2.16 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("checkout-field-editor-and-manager-for-woocommerce.php" instead of "start.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected2,446 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 521 | 511 | 2,031 |
CSS | 2 | 8 | 14 | 167 |
JavaScript | 3 | 7 | 1 | 93 |
SVG | 4 | 0 | 0 | 91 |
Sass | 1 | 7 | 0 | 64 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.72 |
Average class complexity | 103.20 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 255.00 |
Average method complexity | 6.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 5 | 5.68% |
▷ Public methods | 87 | 98.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.14% |
Functions | 9 | |
▷ Named functions | 4 | 44.44% |
▷ Anonymous functions | 5 | 55.56% |
Constants | 8 | |
▷ Global constants | 8 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/linesgp.png | 20.20KB | 7.58KB | ▼ 62.47% |
assets/images/loading_ui.png | 2.07KB | 1.67KB | ▼ 19.42% |