Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.84ms] Passed 4 tests
An overview of server-side resources used by Checkout Address AutoFill For WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.65 ▲1.85 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.99 ▼3.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.19 ▼0.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.49 ▼15.22 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.06 ▼3.72 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
wc_af_location_picker_image_for_testing |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Checkout Address AutoFill For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.23 ▼0.90 | 6.96 ▲5.23 | 46.00 ▲1.65 |
Dashboard /wp-admin | 2,218 ▲12 | 5.81 ▲0.94 | 101.37 ▼3.19 | 40.95 ▼5.26 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.05 ▲0.00 | 37.09 ▼5.73 | 33.58 ▼1.72 |
Add New Post /wp-admin/post-new.php | 1,550 ▲10 | 23.31 ▲5.12 | 660.93 ▲20.67 | 49.61 ▲0.76 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.24 ▲0.02 | 95.31 ▼6.56 | 42.08 ▼4.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- wc_af_location_picker_image_for_testing
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/checkout-address-autofill-for-woocommerce/inc/plugin-activation-error.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: google address validation, google address autofill, checkout address autocomplete, google address autocomplete, woocommerce address autocomplete
checkout-address-autofill-for-woocommerce/checkout-address-autofill-for-woocommerce.php 92% from 13 tests
This is the main PHP file of "Checkout Address AutoFill For WooCommerce" version 1.1.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
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 plugin2,167 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 540 | 167 | 1,648 |
JavaScript | 2 | 81 | 36 | 391 |
CSS | 4 | 23 | 5 | 128 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
5 PNG files occupy 0.14MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/location.png | 40.82KB | 6.87KB | ▼ 83.17% |
assets/images/location.png | 40.82KB | 6.87KB | ▼ 83.17% |
assets/images/zeta_checkout_autofill-1.png | 54.55KB | 54.55KB | 0.00% |
assets/images/select2.png | 0.60KB | 0.99KB | 0.00% |
assets/images/location-picker.png | 3.23KB | 2.08KB | ▼ 35.49% |