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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.86ms] Passed 4 tests
This is a short check of server-side resources used by Soluship Shipping For Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.88 ▼8.17 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.93 ▲2.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.23 ▼7.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 100.47 ▼22.26 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.04 ▲2.15 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Soluship Shipping For Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.20 ▼1.39 | 1.57 ▲0.01 | 40.81 ▼0.15 |
Dashboard /wp-admin | 2,203 ▲15 | 5.83 ▼0.07 | 93.17 ▼20.31 | 37.06 ▼9.11 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 33.56 ▼6.87 | 33.65 ▼3.22 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.82 ▲0.26 | 658.50 ▼6.21 | 49.61 ▼15.31 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.01 | 107.08 ▲15.24 | 45.47 ▲5.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Selected shipping method automatically updates customer's checkout price and cart page), #2 (Add handling markups,free shipping if required), #3 (Login to the Soluship "ECOMMERCE" hub and get your WordPress store access key), #4 (Print Shipping Labels in order view Page), #5 (Set From shipping address.), #6 (Packaging methods), #7 (Default dimensions and it's enable functionality.)
soluship-shipping/woo-soluship-shipping.php 77% from 13 tests
The primary PHP file in "Soluship Shipping For Woocommerce" version 1.2.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("soluship-shipping.php" instead of "woo-soluship-shipping.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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 plugin1,354 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 328 | 85 | 1,043 |
JavaScript | 1 | 153 | 40 | 288 |
CSS | 1 | 3 | 0 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.86MB with 0.62MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 318.70KB | 93.04KB | ▼ 70.81% |
screenshot-1.png | 54.60KB | 14.50KB | ▼ 73.45% |
screenshot-3.png | 191.40KB | 56.19KB | ▼ 70.64% |
screenshot-6.png | 93.64KB | 25.39KB | ▼ 72.88% |
screenshot-4.png | 73.79KB | 20.53KB | ▼ 72.18% |