Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.38ms] Passed 4 tests
An overview of server-side resources used by Multistep Checkout for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.22 ▼6.35 |
Dashboard /wp-admin | 3.33 ▲0.03 | 41.76 ▼4.97 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.70 ▲2.59 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.10 ▼4.77 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.37 ▲5.00 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Multistep Checkout for Woocommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.14 ▼1.45 | 4.47 ▲2.77 | 42.45 ▼6.31 |
Dashboard /wp-admin | 2,208 ▲20 | 4.88 ▲0.05 | 98.44 ▼5.48 | 40.94 ▼3.32 |
Posts /wp-admin/edit.php | 2,097 ▲26 | 2.03 ▲0.04 | 40.95 ▲5.59 | 39.10 ▲6.06 |
Add New Post /wp-admin/post-new.php | 1,417 ▼97 | 22.26 ▲4.63 | 555.76 ▼133.07 | 47.00 ▼5.53 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.17 ▼0.07 | 98.91 ▼10.71 | 38.32 ▼11.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/multistep-checkout-for-woocommerce/libs/tgm/class-tgm-plugin-activation.php:2109
- > PHP Parse error
syntax error, unexpected 'endif' (T_ENDIF) in wp-content/plugins/multistep-checkout-for-woocommerce/woocommerce/checkout/form-checkout.php on line 261
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/multistep-checkout-for-woocommerce/libs/tgm/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/multistep-checkout-for-woocommerce/libs/tgm/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
multistep-checkout-for-woocommerce/phoen_multi_step_checkout.php 77% from 13 tests
The main file in "Multistep Checkout for Woocommerce" v. 2.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "2.6.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("multistep-checkout-for-woocommerce.php" instead of "phoen_multi_step_checkout.php")
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
There were no executable files found in this plugin2,942 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 818 | 1,671 | 2,863 |
JavaScript | 2 | 69 | 4 | 79 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 48.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 5 | 4.95% |
▷ Public methods | 78 | 77.23% |
▷ Protected methods | 23 | 22.77% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
23 PNG files occupy 0.53MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/button2.png | 3.58KB | 2.59KB | ▼ 27.61% |
assets/images/Style1.png | 33.67KB | 9.92KB | ▼ 70.55% |
assets/images/naviagtion buttons.png | 24.39KB | 7.70KB | ▼ 68.44% |
assets/images/Style-7.png | 34.03KB | 10.71KB | ▼ 68.53% |
assets/images/Style-8.png | 30.09KB | 9.30KB | ▼ 69.10% |