94% address44

Code Review | Address44

WordPress plugin Address44 scored 94% from 54 tests.

About plugin

  • Plugin page: address44
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 1.0-5.6.1
  • WordPress version: 5.9.2
  • First release: Sep 9, 2020
  • Latest release: Feb 12, 2021
  • Number of updates: 10
  • Update frequency: every 15.6 days
  • Top authors: address44 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 312 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0256.07 ▲6.32
Dashboard /wp-admin3.43 ▲0.0133.63 ▼1.32
Posts /wp-admin/edit.php3.66 ▲0.0139.36 ▲1.23
Add New Post /wp-admin/post-new.php6.90 ▼0.0893.84 ▼1,213.16
Media Library /wp-admin/upload.php3.31 ▲0.0123.46 ▼1.46
Address44 /wp-admin/options-general.php?page=address44_settings3.2827.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,769 ▲1516.17 ▲0.136.33 ▼0.382.06 ▼0.43
Dashboard /wp-admin2,894 ▲366.15 ▼0.05120.04 ▼15.37154.21 ▼8.85
Posts /wp-admin/edit.php2,693 ▲23.24 ▲0.0164.27 ▲0.89139.70 ▼4.79
Add New Post /wp-admin/post-new.php1,664 ▲2816.20 ▼2.74431.25 ▲0.87159.93 ▲6.90
Media Library /wp-admin/upload.php1,703 ▲115.50 ▲0.00142.63 ▲7.34185.99 ▼0.27
Address44 /wp-admin/options-general.php?page=address44_settings1,0092.4258.25101.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


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:
LanguageFilesBlank linesComment linesLines of code

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 code0.22
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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