Benchmarks
Plugin footprint Passed 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼293.66ms] Passed 4 tests
Server-side resources used by Address correction autocomplete for Woo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.11 | 54.51 ▲5.28 |
Dashboard /wp-admin | 3.45 ▲0.05 | 33.60 ▼6.36 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 37.92 ▼0.61 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 94.26 ▼1,169.48 |
Media Library /wp-admin/upload.php | 3.33 ▲0.04 | 25.89 ▲1.83 |
Autocomplete Checkout Address /wp-admin/admin.php?page=sahu_woo_com_auto_complete_page | 3.30 | 23.66 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Address correction autocomplete for Woo
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,773 ▲19 | 15.64 ▼0.40 | 6.50 ▲0.33 | 2.39 ▼0.03 |
Dashboard /wp-admin | 2,902 ▲41 | 6.07 ▼0.11 | 115.88 ▼19.54 | 158.40 ▼2.86 |
Posts /wp-admin/edit.php | 2,698 ▲4 | 3.24 ▼0.00 | 62.29 ▼1.73 | 139.71 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,758 ▲97 | 21.74 ▲6.00 | 452.30 ▲27.09 | 289.93 ▲140.62 |
Media Library /wp-admin/upload.php | 1,705 ▲7 | 5.52 ▼0.03 | 160.23 ▲22.50 | 194.56 ▲13.29 |
Autocomplete Checkout Address /wp-admin/admin.php?page=sahu_woo_com_auto_complete_page | 1,043 | 2.36 | 53.39 | 102.74 |
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
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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adresskorrektur-autocomplete-fuer-woo/index.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: autokorrektur woo, woo autocomplete, autocomplete, address
adresskorrektur-autocomplete-fuer-woo/index.php 92% from 13 tests
The entry point to "Address correction autocomplete for Woo" version 1.1 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("adresskorrektur-autocomplete-fuer-woo.php" instead of "index.php")
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
No dangerous file extensions were detected804 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 49 | 7 | 379 |
PO File | 5 | 57 | 63 | 313 |
PHP | 1 | 27 | 19 | 112 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin