Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼1.51ms] Passed 4 tests
Server-side resources used by MultiStep Checkout
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 49.74 ▲7.79 |
Dashboard /wp-admin | 3.59 ▲0.28 | 53.78 ▲2.50 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 54.67 ▲3.33 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.19 | 90.11 ▼15.72 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 40.13 ▲3.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
wpx_styles |
msc_installed |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
msc_version |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for MultiStep Checkout
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,044 ▲283 | 14.98 ▲0.63 | 7.51 ▲5.41 | 40.63 ▼3.63 |
Dashboard /wp-admin | 2,361 ▲184 | 6.37 ▲0.79 | 118.03 ▲30.72 | 40.03 ▼4.05 |
Posts /wp-admin/edit.php | 2,295 ▲195 | 3.47 ▲1.51 | 52.68 ▲12.74 | 34.38 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.18 ▲0.20 | 656.89 ▼47.46 | 37.50 ▼19.16 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.35 ▲0.14 | 84.79 ▼19.64 | 41.19 ▼7.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- msc_installed
- db_upgraded
- widget_theysaidso_widget
- wpx_styles
- widget_recent-comments
- msc_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Frontend), #2 (Settings)
multistep-checkout/multistep-checkout.php Passed 13 tests
The entry point to "MultiStep Checkout" version 1.0.1 is a PHP file that has certain tags in its header comment area
44 characters long description:
A MultiStep Checkout plugin for WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,210 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 271 | 441 | 1,063 |
CSS | 1 | 5 | 3 | 87 |
JavaScript | 1 | 4 | 0 | 37 |
JSON | 2 | 0 | 0 | 23 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 72 | |
▷ Static methods | 4 | 5.56% |
▷ Public methods | 71 | 98.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.39% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin