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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.41ms] Passed 4 tests
A check of server-side resources used by Multi-Step Checkout for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.35 ▼10.12 |
Dashboard /wp-admin | 3.34 ▼0.01 | 43.42 ▼13.57 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.06 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.52 ▼18.62 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 33.68 ▼3.34 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Multi-Step Checkout for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲48 | 14.40 ▲0.05 | 1.56 ▼0.58 | 41.25 ▼7.09 |
Dashboard /wp-admin | 2,200 ▲23 | 5.47 ▼0.09 | 85.10 ▼8.26 | 38.21 ▼4.87 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.01 | 37.05 ▼1.31 | 33.68 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,542 ▲14 | 23.85 ▲0.74 | 670.55 ▼19.09 | 57.03 ▼8.19 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.21 ▼0.00 | 94.61 ▼11.82 | 44.48 ▼0.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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
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, checkout, multistep checkout, shop checkout, checkout wizard...
wp-multi-step-checkout/wp-multi-step-checkout.php 92% from 13 tests
The main PHP script in "Multi-Step Checkout for WooCommerce" version 2.26 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0.1" instead of "3.0.0")
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
Success! There were no dangerous files found in this plugin2,911 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 473 | 682 | 1,895 |
CSS | 4 | 50 | 6 | 425 |
JavaScript | 4 | 52 | 27 | 250 |
PO File | 3 | 81 | 92 | 235 |
SVG | 2 | 2 | 2 | 106 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 31.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 2 | 14.29% |
Methods | 142 | |
▷ Static methods | 68 | 47.89% |
▷ Public methods | 142 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 32 | 94.12% |
▷ Anonymous functions | 2 | 5.88% |
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
6 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/rating.png | 7.61KB | 5.24KB | ▼ 31.18% |
trunk/assets/images/discount.png | 9.75KB | 5.13KB | ▼ 47.33% |
trunk/assets/images/rating.png | 7.61KB | 5.24KB | ▼ 31.18% |
assets/images/discount.png | 9.75KB | 5.13KB | ▼ 47.33% |
assets/images/silkypress_logo.png | 0.84KB | 0.64KB | ▼ 24.19% |