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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.88ms] Passed 4 tests
Analyzing server-side resources used by Multi-Carrier Shippo Shipping Rates & Address Validation for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.03 ▼0.43 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.26 ▼0.47 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.24 ▲1.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.42 ▼23.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.57 ▲0.55 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Multi-Carrier Shippo Shipping Rates & Address Validation for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.26 ▼0.10 | 1.60 ▼0.13 | 42.20 ▼1.40 |
Dashboard /wp-admin | 2,195 ▲15 | 5.59 ▼0.02 | 86.56 ▼4.91 | 42.48 ▲1.80 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.00 ▼0.00 | 33.83 ▼1.76 | 35.41 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 18.28 ▼4.91 | 632.07 ▼36.37 | 75.84 ▲20.28 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.20 ▼0.04 | 97.22 ▼8.55 | 41.86 ▼5.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
wc-shippo-shipping/wc-shippo-shipping.php 85% from 13 tests
The entry point to "Multi-Carrier Shippo Shipping Rates & Address Validation for WooCommerce" version 1.5.9 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Plugin Name: Please shorten the plugin name (currently 72 characters long instead of max. 70)
- Requires PHP: The required version number 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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin5,166 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 1,098 | 227 | 5,166 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 32.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 171.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 309 | |
▷ Static methods | 2 | 0.65% |
▷ Public methods | 178 | 57.61% |
▷ Protected methods | 125 | 40.45% |
▷ Private methods | 6 | 1.94% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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-logo.png | 14.55KB | 4.50KB | ▼ 69.05% |
assets/images/1TeamSoftware-icon.png | 0.59KB | 0.75KB | 0.00% |