Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.53ms] Passed 4 tests
A check of server-side resources used by SYW Woocommerce Simple Checkout Steps
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.06 | 29.46 ▼11.87 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.41 ▼4.55 |
Posts /wp-admin/edit.php | 3.40 ▲0.00 | 50.66 ▼2.12 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.00 | 93.00 ▼6.81 |
Media Library /wp-admin/upload.php | 3.27 ▲0.00 | 37.24 ▼6.87 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for SYW Woocommerce Simple Checkout Steps
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,465 ▼296 | 14.21 ▲0.00 | 0.79 ▼2.06 | 13.25 ▼32.42 |
Dashboard /wp-admin | 2,195 ▲21 | 5.61 ▼0.03 | 89.56 ▼4.74 | 38.53 ▼0.70 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.01 | 41.43 ▲2.43 | 37.07 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,526 ▼6 | 23.68 ▲0.76 | 680.82 ▼17.03 | 63.78 ▲5.39 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▲0.09 | 94.25 ▼18.04 | 46.71 ▼1.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function WC() in wp-content/plugins/syw-woocommerce-simple-checkout-steps/templates/steps-template.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/syw-woocommerce-simple-checkout-steps/syw-woocommerce-simple-checkout-steps.php:12
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== syw-woocommerce-simple-checkout-steps ===
)
syw-woocommerce-simple-checkout-steps/syw-woocommerce-simple-checkout-steps.php Passed 13 tests
Analyzing the main PHP file in "SYW Woocommerce Simple Checkout Steps" version 1.0
76 characters long description:
Add checkout steps at your Woocommerce shop for a better shopping experience
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin5,824 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 8 | 15 | 2,032 |
Sass | 13 | 28 | 24 | 1,520 |
LESS | 13 | 28 | 34 | 1,510 |
SVG | 1 | 0 | 0 | 640 |
PHP | 2 | 23 | 10 | 72 |
PO File | 2 | 8 | 8 | 50 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin