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.05MB] [CPU: ▼9.89ms] Passed 4 tests
A check of server-side resources used by WooCommerce Hide Checkout Shipping Address
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.36 ▲3.63 |
Dashboard /wp-admin | 3.36 ▲0.02 | 49.60 ▼20.85 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.53 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 86.55 ▼19.20 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.86 ▲0.79 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Hide Checkout Shipping Address
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.25 ▲0.02 | 1.77 ▲0.09 | 43.90 ▼3.77 |
Dashboard /wp-admin | 2,198 ▲24 | 5.52 ▼0.08 | 83.74 ▼22.91 | 41.35 ▼2.27 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.01 | 37.58 ▲2.01 | 34.43 ▼4.30 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 17.64 ▼5.71 | 640.53 ▼43.39 | 47.23 ▼6.48 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.07 | 98.94 ▼15.62 | 44.13 ▼2.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
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
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: woocommerce, hide shipping address, checkout, shipping, shipping method...
woocommerce-hide-checkout-shipping-address/woocommerce-hide-checkout-shipping-address.php 92% from 13 tests
"WooCommerce Hide Checkout Shipping Address" version 1.3'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:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.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
Success! There were no dangerous files found in this plugin510 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 129 | 406 | 381 |
JavaScript | 1 | 4 | 0 | 67 |
PO File | 1 | 10 | 10 | 62 |
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.31 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 52 | |
▷ Static methods | 17 | 32.69% |
▷ Public methods | 33 | 63.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 36.54% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
No PNG files were detected