Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼146.06ms] Passed 4 tests
A check of server-side resources used by Woocommerce autocomplete checkout address
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.10 ▲12.16 |
Dashboard /wp-admin | 3.07 ▲0.01 | 43.05 ▼3.95 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 42.31 ▼4.22 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 87.20 ▼569.49 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 26.05 ▼6.59 |
Autocomplete Checkout Address /wp-admin/admin.php?page=ace_waca_auto_complete_page | 2.98 | 27.58 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Woocommerce autocomplete checkout address: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,689 ▲93 | 15.87 ▲0.21 | 8.32 ▼1.06 | 47.00 ▼0.83 |
Dashboard /wp-admin | 2,983 ▲49 | 6.09 ▼0.11 | 147.77 ▲6.32 | 104.53 ▼6.91 |
Posts /wp-admin/edit.php | 2,751 ▲12 | 2.72 ▼0.00 | 64.89 ▼7.45 | 90.75 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,506 ▲8 | 18.51 ▼0.40 | 365.58 ▼10.22 | 117.61 ▲4.29 |
Media Library /wp-admin/upload.php | 1,820 ▲10 | 5.02 ▲0.01 | 153.92 ▼1.11 | 122.75 ▲6.21 |
Autocomplete Checkout Address /wp-admin/admin.php?page=ace_waca_auto_complete_page | 1,073 | 2.09 | 57.82 | 78.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-autocomplete-checkout-address/index.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: address, autocomplete
woo-autocomplete-checkout-address/index.php 85% from 13 tests
"Woocommerce autocomplete checkout address" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-autocomplete-checkout-address.php" instead of "index.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
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
No dangerous file extensions were detected480 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 49 | 7 | 379 |
PHP | 1 | 11 | 14 | 101 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected