Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.44ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Duplicate Billing Address
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.99 ▼7.27 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.62 ▼13.50 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.23 ▲5.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.71 ▼9.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.70 ▼3.70 |
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: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
WooCommerce Duplicate Billing Address: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.16 ▼1.25 | 1.60 ▼0.23 | 39.42 ▼4.66 |
Dashboard /wp-admin | 2,206 ▲17 | 5.82 ▲0.93 | 112.53 ▼6.43 | 42.60 ▼4.91 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▲0.01 | 40.70 ▲3.93 | 36.57 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.27 ▲0.81 | 606.42 ▼83.81 | 51.46 ▲0.49 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.17 ▼0.08 | 102.20 ▼1.69 | 42.95 ▼4.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woocommerce-duplicate-billing-address/admin/partials/woocommerce-duplicate-billing-address-admin-display.php
- > /wp-content/plugins/woocommerce-duplicate-billing-address/public/partials/woocommerce-duplicate-billing-address-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #3 in woocommerce-duplicate-billing-address/assets to your readme.txt
woocommerce-duplicate-billing-address/woocommerce-duplicate-billing-address.php Passed 13 tests
The entry point to "WooCommerce Duplicate Billing Address" version 1.16 is a PHP file that has certain tags in its header comment area
116 characters long description:
Adds a checkbox in the edit user profile dashboard page to duplicate the billing to shipping address in WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin532 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 197 | 759 | 480 |
JavaScript | 2 | 13 | 30 | 52 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 10.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 4 | 8.51% |
▷ Public methods | 35 | 74.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 25.53% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin