Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼303.68ms] Passed 4 tests
Server-side resources used by Address44
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 56.07 ▲6.32 |
Dashboard /wp-admin | 3.43 ▲0.01 | 33.63 ▼1.32 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 39.36 ▲1.23 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.08 | 93.84 ▼1,213.16 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 23.46 ▼1.46 |
Address44 /wp-admin/options-general.php?page=address44_settings | 3.28 | 27.02 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Address44
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,769 ▲15 | 16.17 ▲0.13 | 6.33 ▼0.38 | 2.06 ▼0.43 |
Dashboard /wp-admin | 2,894 ▲36 | 6.15 ▼0.05 | 120.04 ▼15.37 | 154.21 ▼8.85 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.24 ▲0.01 | 64.27 ▲0.89 | 139.70 ▼4.79 |
Add New Post /wp-admin/post-new.php | 1,664 ▲28 | 16.20 ▼2.74 | 431.25 ▲0.87 | 159.93 ▲6.90 |
Media Library /wp-admin/upload.php | 1,703 ▲11 | 5.50 ▲0.00 | 142.63 ▲7.34 | 185.99 ▼0.27 |
Address44 /wp-admin/options-general.php?page=address44_settings | 1,009 | 2.42 | 58.25 | 101.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no 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 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/address44/address44.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 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
9 plugin tags: address autocomplete, uk address auto-complete, woocommerce postcode lookup, uk address lookup, uk address autocomplete...
address44/address44.php Passed 13 tests
The main PHP script in "Address44" version 1.0.2 is automatically included on every request by WordPress
75 characters long description:
Add Address Auto-Complete and Postcode Lookup to your WooCommerce Checkout.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin48 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 23 | 48 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 3 | |
▷ Named functions | 3 | 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
There are no PNG files in this plugin