Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼7.71ms] Passed 4 tests
This is a short check of server-side resources used by Shipping Packages for WooCommerce - Dropship from multiple locations like AliExpress, eBay, Amazon, Etsy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.92 ▲3.58 |
Dashboard /wp-admin | 3.44 ▲0.09 | 43.13 ▼16.52 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 44.76 ▲4.59 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 81.55 ▼17.10 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.52 ▼0.79 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Shipping Packages for WooCommerce - Dropship from multiple locations like AliExpress, eBay, Amazon, Etsy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.19 ▼0.53 | 1.72 ▼0.11 | 44.58 ▼3.29 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▲0.12 | 86.95 ▼4.09 | 36.32 ▲2.13 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▲0.05 | 33.69 ▼6.67 | 37.61 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.13 ▲0.01 | 670.31 ▼36.13 | 45.35 ▼9.59 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.19 ▼0.02 | 95.77 ▼2.29 | 43.00 ▲1.15 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
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
Congratulations! This plugin passed the SRP test
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 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots lack descriptions #1, #2, #3 in wc-shipping-packages/assets to your readme.txt
wc-shipping-packages/wc-shipping-packages.php Passed 13 tests
This is the main PHP file of "Shipping Packages for WooCommerce - Dropship from multiple locations like AliExpress, eBay, Amazon, Etsy" version 1.1.32, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
98 characters long description:
Groups products in the cart into packages, so they can be shipped with different shipping methods.
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
Everything looks great! No dangerous files found in this plugin1,660 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 382 | 99 | 1,525 |
CSS | 1 | 23 | 0 | 125 |
JavaScript | 1 | 2 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 4.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 1 | 1.45% |
▷ Public methods | 41 | 59.42% |
▷ Protected methods | 27 | 39.13% |
▷ Private methods | 1 | 1.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up 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% |