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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.73ms] Passed 4 tests
This is a short check of 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.50 ▲0.04 | 36.02 ▼1.72 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.82 ▼0.72 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.92 ▼0.66 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.06 ▲0.30 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.48 ▲0.17 |
Autocomplete Checkout Address /wp-admin/admin.php?page=sahu_woo_com_auto_complete_page | 3.23 | 36.82 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Address correction autocomplete for Woo
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.21 ▼1.17 | 1.74 ▲0.22 | 40.47 ▲0.60 |
Dashboard /wp-admin | 2,212 ▲27 | 4.81 ▼0.05 | 110.84 ▲8.80 | 43.05 ▲0.05 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 1.99 ▼0.03 | 41.10 ▼0.79 | 36.09 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.33 ▲0.04 | 645.74 ▼37.43 | 53.63 ▼8.21 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.22 ▼0.01 | 108.08 ▲2.02 | 47.20 ▼1.02 |
Autocomplete Checkout Address /wp-admin/admin.php?page=sahu_woo_com_auto_complete_page | 818 | 2.02 | 27.38 | 26.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > 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 shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: address, woo autocomplete, autocomplete, autokorrektur woo
adresskorrektur-autocomplete-fuer-woo/index.php 92% from 13 tests
The entry point to "Address correction autocomplete for Woo" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as 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 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions 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
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected