Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.44ms] Passed 4 tests
This is a short check of server-side resources used by Multistep Checkout for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.58 ▼6.47 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.61 ▼13.35 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.55 ▲1.65 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 100.47 ▲0.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 45.51 ▲13.67 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Multistep Checkout for Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲39 | 13.25 ▼1.50 | 1.76 ▼0.42 | 37.02 ▼6.19 |
Dashboard /wp-admin | 2,216 ▲25 | 5.05 ▼0.76 | 104.64 ▼6.73 | 42.55 ▼8.61 |
Posts /wp-admin/edit.php | 2,099 ▲7 | 2.01 ▼0.05 | 40.29 ▼1.99 | 36.56 ▲4.14 |
Add New Post /wp-admin/post-new.php | 1,402 ▼117 | 18.24 ▼4.86 | 689.75 ▲66.46 | 57.45 ▲0.46 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.15 ▼0.10 | 229.08 ▲130.41 | 92.78 ▲48.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
No output text or server-side errors detected on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: woocommerce multistep checkout, multistep checkout for woocommerce, multistep checkout
multistep-checkout-for-woocommerce-by-codeixer/woocommerce-multistep-checkout.php 85% from 13 tests
The main PHP script in "Multistep Checkout for Woocommerce" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("multistep-checkout-for-woocommerce-by-codeixer.php" instead of "woocommerce-multistep-checkout.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,653 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 266 | 302 | 758 |
JavaScript | 2 | 79 | 90 | 570 |
CSS | 2 | 88 | 7 | 325 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 35.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin