Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.54MB] [CPU: ▼0.94ms] Passed 4 tests
Analyzing server-side resources used by Flexible Checkout Fields for WooCommerce - WooCommerce Checkout Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.54 | 38.61 ▼1.66 |
Dashboard /wp-admin | 3.85 ▲0.54 | 47.61 ▼3.04 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 52.90 ▲6.75 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 93.18 ▼1.59 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 39.59 ▲2.54 |
Server storage [IO: ▲2.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 577 new files
Database: no new tables, 7 new options
New WordPress options |
---|
plugin_activation_flexible-checkout-fields/flexible-checkout-fields.php |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Flexible Checkout Fields for WooCommerce - WooCommerce Checkout Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲31 | 14.25 ▲0.00 | 1.64 ▼0.10 | 39.97 ▼4.91 |
Dashboard /wp-admin | 2,195 ▲15 | 5.59 ▼0.06 | 92.22 ▼0.90 | 42.78 ▼2.84 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▼0.01 | 39.51 ▼0.16 | 34.88 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.35 ▼0.16 | 603.67 ▼42.45 | 62.98 ▲10.34 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.28 ▲0.10 | 94.79 ▼5.55 | 41.52 ▼0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- plugin_activation_flexible-checkout-fields/flexible-checkout-fields.php
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Please take a closer look at the following
- 301× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPDesk\\FCF\\Free\\Field\\Type\\TypeAbstract' not found in wp-content/plugins/flexible-checkout-fields/src/Field/Type/EmailType.php:34
- > PHP Fatal error
Uncaught Error: Class 'WPDesk\\FCF\\Free\\Validator\\Error\\ErrorAbstract' not found in wp-content/plugins/flexible-checkout-fields/src/Validator/Error/InvalidRegexError.php:10
- > PHP Fatal error
Uncaught Error: Class 'FcfVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/flexible-checkout-fields/vendor_prefixed/monolog/monolog/src/Monolog/Handler/LogglyHandler.php:26
- > PHP Fatal error
Uncaught Error: Class 'WPDesk\\FCF\\Free\\Settings\\Option\\ValidationOption' not found in wp-content/plugins/flexible-checkout-fields/src/Settings/Option/ValidationPostcodeOption.php:8
- > PHP Fatal error
Uncaught Error: Class 'FcfVendor\\Monolog\\Handler\\Handler' not found in wp-content/plugins/flexible-checkout-fields/vendor_prefixed/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php:40
- > PHP Fatal error
Uncaught Error: Class 'FcfVendor\\WPDesk\\Logger\\BasicLoggerFactory' not found in wp-content/plugins/flexible-checkout-fields/vendor_prefixed/wpdesk/wp-logs/src/WPDeskLoggerFactory.php:20
- > PHP Fatal error
Uncaught Error: Class 'FcfVendor\\PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/flexible-checkout-fields/vendor_prefixed/monolog/monolog/src/Monolog/Test/TestCase.php:27
- > PHP Fatal error
Uncaught Error: Interface 'FcfVendor\\WPDesk\\PluginBuilder\\Plugin\\Hookable' not found in wp-content/plugins/flexible-checkout-fields/src/Field/FieldTemplateLoader.php:15
- > PHP Fatal error
Uncaught Error: Class 'WPDesk\\FCF\\Free\\Settings\\Option\\OptionAbstract' not found in wp-content/plugins/flexible-checkout-fields/src/Settings/Option/ExternalFieldInfoOption.php:10
- > PHP Fatal error
Uncaught Error: Class 'FcfVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/flexible-checkout-fields/vendor_prefixed/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: woocommerce customize checkout, woocommerce custom checkout fields, woocommerce checkout manager, customize woocommerce checkout, woocommerce custom fields checkout...
flexible-checkout-fields/flexible-checkout-fields.php 92% from 13 tests
"Flexible Checkout Fields for WooCommerce - WooCommerce Checkout Manager" version 3.5.18's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.2" instead of "5.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin24,613 lines of code in 549 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 495 | 2,594 | 13,556 | 22,637 |
JSON | 19 | 0 | 0 | 952 |
CSS | 15 | 79 | 56 | 582 |
JavaScript | 14 | 41 | 6 | 292 |
Markdown | 4 | 15 | 0 | 65 |
SVG | 1 | 0 | 0 | 60 |
PO File | 1 | 3 | 3 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 5.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 64 | |
Interfaces | 55 | |
Traits | 12 | |
Classes | 391 | |
▷ Abstract classes | 18 | 4.60% |
▷ Concrete classes | 373 | 95.40% |
▷ Final classes | 8 | 2.14% |
Methods | 2,056 | |
▷ Static methods | 99 | 4.82% |
▷ Public methods | 1,655 | 80.50% |
▷ Protected methods | 194 | 9.44% |
▷ Private methods | 207 | 10.07% |
Functions | 82 | |
▷ Named functions | 39 | 47.56% |
▷ Anonymous functions | 43 | 52.44% |
Constants | 296 | |
▷ Global constants | 5 | 1.69% |
▷ Class constants | 291 | 98.31% |
▷ Public constants | 264 | 90.72% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
20 compressed PNG files occupy 0.14MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/flexible-wishlist.png | 12.35KB | 5.49KB | ▼ 55.55% |
assets/css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/logo@2x.png | 4.17KB | 4.47KB | 0.00% |
assets/css/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |