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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.03ms] Passed 4 tests
This is a short check of server-side resources used by Fluid Checkout for WooCommerce - Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 35.11 ▼6.04 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.97 ▼3.44 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.51 ▲4.09 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.33 ▼7.83 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 36.04 ▲1.18 |
Server storage [IO: ▲4.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 1,081 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
fc_plugin_activation_time |
Browser metrics Passed 4 tests
Fluid Checkout for WooCommerce - Lite: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲33 | 14.67 ▲0.40 | 1.57 ▼0.47 | 37.99 ▼7.23 |
Dashboard /wp-admin | 2,222 ▲45 | 5.61 ▼0.06 | 90.13 ▲0.84 | 42.05 ▲2.45 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.15 ▲0.19 | 40.59 ▲0.22 | 38.40 ▲2.66 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.30 ▲0.21 | 697.72 ▲34.12 | 61.79 ▲10.82 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.20 ▲0.00 | 103.86 ▲1.05 | 44.39 ▼0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- fc_plugin_activation_time
- can_compress_scripts
Smoke tests 50% 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 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 fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/fluid-checkout/templates/compat/plugins/lp-express-shipping-method-for-woocommerce/checkout/lpexpress_terminals.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/fluid-checkout/templates/compat/plugins/curiero-plugin/templates/checkout-dpd-boxes-select.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/fluid-checkout/templates/compat/plugins/curiero-plugin/templates/checkout-lockers-select.php:4
- > PHP Notice
Undefined variable: field_id in wp-content/plugins/fluid-checkout/templates/compat/plugins/woo-shipping-dpd-baltic/checkout/form-shipping-dpd-terminals-with-map.php on line 15
- > PHP Notice
Undefined variable: field_id in wp-content/plugins/fluid-checkout/templates/compat/plugins/woo-shipping-dpd-baltic/checkout/form-shipping-dpd-terminals.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/fluid-checkout/templates/compat/plugins/curiero-plugin/templates/checkout-collectpoint-select.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/fluid-checkout/templates/compat/plugins/woo-shipping-dpd-baltic/checkout/form-shipping-dpd-terminals.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/fluid-checkout/templates/compat/plugins/woo-shipping-dpd-baltic/checkout/form-shipping-dpd-terminals-with-map.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: multi-step, conversion, checkout, woocommerce, one-page
fluid-checkout/fluid-checkout.php 92% from 13 tests
The main PHP file in "Fluid Checkout for WooCommerce - Lite" ver. 3.0.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 260 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected49,588 lines of code in 964 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 169 | 5,362 | 7,474 | 12,643 |
CSS | 260 | 1,525 | 24 | 11,653 |
PO File | 9 | 3,564 | 4,667 | 11,488 |
JavaScript | 65 | 2,020 | 2,520 | 6,676 |
Sass | 455 | 2,812 | 2,331 | 6,084 |
Markdown | 1 | 119 | 0 | 584 |
JSON | 4 | 11 | 0 | 426 |
SVG | 1 | 22 | 0 | 34 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 16.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 545.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 134 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 134 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,025 | |
▷ Static methods | 6 | 0.59% |
▷ Public methods | 1,018 | 99.32% |
▷ Protected methods | 2 | 0.20% |
▷ Private methods | 5 | 0.49% |
Functions | 9 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 9 | 100.00% |
Constants | 8 | |
▷ Global constants | 2 | 25.00% |
▷ Class constants | 6 | 75.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/admin/fc-layout-multi-step.png | 0.37KB | 0.38KB | 0.00% |
images/admin/fc-template-minimalist.png | 2.21KB | 0.75KB | ▼ 65.96% |
images/admin/addons/fc-google-address-autocomplete-icon.png | 22.06KB | 21.25KB | ▼ 3.68% |
images/admin/fc-template-split.png | 2.24KB | 0.77KB | ▼ 65.54% |
images/admin/addons/fluid-checkout-pro-icon.png | 3.39KB | 3.38KB | 0.09% |