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.02MB] [CPU: ▼2.22ms] Passed 4 tests
An overview of server-side resources used by WPC Copy Billing Address for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 48.97 ▲6.86 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.55 ▼3.66 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 52.51 ▼0.74 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.66 ▼11.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 44.73 ▲7.94 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.21 | 33.31 |
About /wp-admin/admin.php?page=wpclever | 3.21 | 30.63 |
Server storage [IO: ▲0.06MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPC Copy Billing Address for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 14.37 ▲0.03 | 2.03 ▲0.36 | 44.04 ▲2.81 |
Dashboard /wp-admin | 2,269 ▲92 | 5.61 ▲0.04 | 85.69 ▼4.43 | 83.36 ▲44.25 |
Posts /wp-admin/edit.php | 2,182 ▲82 | 1.99 ▲0.01 | 38.89 ▲1.90 | 36.04 ▲2.76 |
Add New Post /wp-admin/post-new.php | 1,754 ▲226 | 22.47 ▼0.72 | 738.28 ▲59.59 | 67.79 ▲9.79 |
Media Library /wp-admin/upload.php | 1,480 ▲80 | 4.25 ▲0.06 | 103.36 ▼5.75 | 74.14 ▲26.92 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,741 | 2.13 | 35.87 | 60.86 |
About /wp-admin/admin.php?page=wpclever | 1,396 | 2.14 | 33.51 | 37.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Please describe screenshot #1 in wpc-copy-billing-address/assets to your readme.txt
wpc-copy-billing-address/wpc-copy-billing-address.php Passed 13 tests
The entry point to "WPC Copy Billing Address for WooCommerce" version 1.1.4 is a PHP file that has certain tags in its header comment area
82 characters long description:
Help buyers copy the whole billing address to the shipping address with one click.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,134 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 86 | 20 | 614 |
CSS | 3 | 74 | 6 | 403 |
JavaScript | 3 | 13 | 2 | 88 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 3 | 10.71% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
There are no PNG files in this plugin