Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.97ms] Passed 4 tests
An overview of server-side resources used by EP Woocommerce Checkout Address AutoComplete
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 45.99 ▲3.60 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.64 ▼1.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.40 ▲1.85 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 100.07 ▲2.75 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.93 ▲0.99 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for EP Woocommerce Checkout Address AutoComplete
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.59 ▲0.31 | 1.65 ▼0.39 | 41.06 ▼6.00 |
Dashboard /wp-admin | 2,195 ▲18 | 5.65 ▼0.08 | 93.68 ▼2.49 | 42.40 ▲2.68 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.00 | 38.92 ▼1.75 | 35.47 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 18.17 ▼0.26 | 617.15 ▲6.05 | 69.46 ▼6.68 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.08 ▼0.25 | 102.47 ▼8.22 | 49.88 ▲6.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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
These attributes need your attention:
- Donate link: Invalid url: ""
ep-woocommerce-checkout-address-autocomplete/ep-address-autocomplete-woocommerce.php 85% from 13 tests
The main PHP file in "EP Woocommerce Checkout Address AutoComplete" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ep-woocommerce-checkout-address-autocomplete.php" instead of "ep-address-autocomplete-woocommerce.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,184 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 199 | 274 | 793 |
CSS | 2 | 47 | 5 | 345 |
JavaScript | 4 | 38 | 44 | 46 |
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.46 |
Average class complexity | 29.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.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