Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼9.67ms] Passed 4 tests
An overview of server-side resources used by Hide Address Fields for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 37.48 ▼3.38 |
Dashboard /wp-admin | 3.51 ▲0.16 | 46.21 ▼18.16 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 49.43 ▲0.34 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 83.64 ▼17.46 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.20 ▲2.69 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Hide Address Fields for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.60 ▲0.25 | 1.54 ▼0.13 | 39.42 ▼4.79 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.00 | 85.12 ▼13.12 | 41.45 ▼2.44 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.99 ▲0.05 | 33.83 ▼1.41 | 34.50 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.14 ▼0.27 | 670.71 ▲20.46 | 59.31 ▲11.78 |
Media Library /wp-admin/upload.php | 1,397 ▲3 | 4.17 ▲0.01 | 104.21 ▲8.93 | 46.02 ▲4.58 |
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-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #2, #3 in hide-address-fields-for-woocommerce/assets to your readme.txt
hide-address-fields-for-woocommerce/hide-address-fields-for-woocommerce.php Passed 13 tests
The main PHP script in "Hide Address Fields for WooCommerce" version 1.1.8 is automatically included on every request by WordPress
116 characters long description:
WooCommerce plugin for hiding the billing address fields on checkout based on the selected shipping/payment methods.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected987 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 74 | 293 | 940 |
PO File | 1 | 11 | 13 | 47 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 181.00 |
▷ Minimum class complexity | 181.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 4.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.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 | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
PNG images were not found in this plugin