Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.28ms] Passed 4 tests
An overview of server-side resources used by Multi-Carrier ShipStation Shipping Rates for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.57 ▼0.17 |
Dashboard /wp-admin | 3.41 ▲0.11 | 58.22 ▲7.74 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 48.47 ▼8.12 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 88.57 ▼20.81 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 41.15 ▼0.03 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Multi-Carrier ShipStation Shipping Rates for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.24 ▼1.13 | 1.72 ▼0.44 | 42.62 ▼0.75 |
Dashboard /wp-admin | 2,203 ▲12 | 4.85 ▼1.05 | 105.77 ▲0.29 | 40.59 ▼6.83 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▲0.02 | 37.77 ▼4.04 | 33.73 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.12 ▲0.02 | 676.82 ▲73.27 | 54.81 ▼16.83 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.14 ▼0.07 | 123.27 ▲14.78 | 62.89 ▲20.27 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% 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: There are too many tags (13 tag instead of maximum 10)
wc-shipstation-shipping/wc-shipstation-shipping.php 92% from 13 tests
The main PHP script in "Multi-Carrier ShipStation Shipping Rates for WooCommerce" version 1.4.9 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("7.3" instead of "5.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin4,639 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 1,044 | 230 | 4,639 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 31.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 171.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 5 | 26.32% |
▷ Concrete classes | 14 | 73.68% |
▷ Final classes | 0 | 0.00% |
Methods | 304 | |
▷ Static methods | 2 | 0.66% |
▷ Public methods | 174 | 57.24% |
▷ Protected methods | 124 | 40.79% |
▷ Private methods | 6 | 1.97% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ 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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/1TeamSoftware-icon.png | 0.59KB | 0.75KB | 0.00% |
assets/images/1TeamSoftware-logo.png | 14.55KB | 4.50KB | ▼ 69.05% |