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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.51ms] Passed 4 tests
An overview of server-side resources used by WooCommerce – Ship to a different address checked or unchecked
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 53.15 ▲8.48 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.95 ▲1.92 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.54 ▼5.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.48 ▼14.88 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.64 ▲3.91 |
Server storage [IO: ▲0.01MB] [DB: ▲0.31MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce – Ship to a different address checked or unchecked
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.69 ▲0.34 | 1.96 ▲0.28 | 42.68 ▼1.93 |
Dashboard /wp-admin | 2,198 ▲24 | 5.64 ▲0.07 | 90.87 ▲2.95 | 44.00 ▼1.29 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.00 ▲0.06 | 34.80 ▼10.18 | 35.24 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.48 ▲5.16 | 674.01 ▲48.23 | 62.49 ▲2.64 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.18 ▼0.03 | 98.91 ▲0.02 | 47.66 ▲2.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- 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 no errors were found, 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
Looking good! No server-side errors or output on direct access of PHP files
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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: ship to different address checked, ship to different address unchecked, woocommerce, ship to different address
ship-to-a-different-address-checked-unchecked/ship-to-a-different-address-checked-unchecked.php Passed 13 tests
The main file in "WooCommerce – Ship to a different address checked or unchecked" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
64 characters long description:
WooCommerce – Ship to a different address checked or unchecked
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin98 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 28 | 43 | 98 |
PHP code Passed 2 tests
This is a very shot 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.25 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin