Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.07MB] [CPU: ▼14.86ms] Passed 4 tests
Analyzing server-side resources used by Simple Shipping Labels for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.52 ▼2.58 |
Dashboard /wp-admin | 3.45 ▲0.10 | 45.44 ▼12.76 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 45.62 ▼4.28 |
Add New Post /wp-admin/post-new.php | 5.34 ▼0.55 | 64.33 ▼39.83 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 33.73 ▼0.25 |
Simple Shipping Labels /wp-admin/admin.php?page=sslabels_settings | 3.34 | 31.13 |
Server storage [IO: ▲0.07MB] [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: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Simple Shipping Labels for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.29 ▼1.03 | 1.60 ▼0.00 | 42.06 ▼0.19 |
Dashboard /wp-admin | 2,203 ▲15 | 5.80 ▼0.25 | 93.48 ▼7.43 | 40.36 ▼6.37 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.01 | 33.60 ▼7.11 | 34.41 ▼1.67 |
Add New Post /wp-admin/post-new.php | 45 ▼1,488 | 0.44 ▼22.68 | 0.07 ▼653.79 | 9.41 ▼52.77 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.17 ▼0.01 | 103.68 ▲5.55 | 60.72 ▲14.04 |
Simple Shipping Labels /wp-admin/admin.php?page=sslabels_settings | 1,158 | 1.85 | 29.27 | 30.47 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- recovery_mode_email_last_sent
- db_upgraded
- widget_recent-comments
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)
Even though everything seems fine, this is not an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: shipping labels, print, woocommerce shipping labels, dymo, woocommerce
simple-shipping-labels-for-woocommerce/simple-shipping-labels.php 92% from 13 tests
"Simple Shipping Labels for WooCommerce" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-shipping-labels-for-woocommerce.php" instead of "simple-shipping-labels.php")
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
No dangerous file extensions were detected910 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 203 | 299 | 789 |
JavaScript | 2 | 23 | 24 | 76 |
SVG | 1 | 0 | 8 | 23 |
CSS | 1 | 4 | 0 | 22 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 89.00 |
▷ Minimum class complexity | 89.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.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
PNG images were not found in this plugin