99% addressfinder-woo

Code Review | WooCommerce Address Validation and Autocomplete | AddressFinder

WordPress plugin WooCommerce Address Validation and Autocomplete | AddressFinder scored 99% from 54 tests.

About plugin

  • Plugin page: addressfinder-woo
  • Plugin version: 1.4.9
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-5.7
  • WordPress version: 5.9.2
  • First release: Feb 5, 2016
  • Latest release: Jan 27, 2022
  • Number of updates: 81
  • Update frequency: every 27.0 days
  • Top authors: abletech (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

1,000+ active / 13,798 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.00MB] [CPU: ▼298.91ms] Passed 4 tests

Analyzing server-side resources used by WooCommerce Address Validation and Autocomplete | AddressFinder
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0352.09 ▼0.91
Dashboard /wp-admin3.43 ▲0.0232.49 ▼1.76
Posts /wp-admin/edit.php3.66 ▲0.0236.68 ▼1.06
Add New Post /wp-admin/post-new.php6.93 ▼0.0792.96 ▼1,191.91
Media Library /wp-admin/upload.php3.31 ▲0.0224.00 ▼0.00

Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for WooCommerce Address Validation and Autocomplete | AddressFinder
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,763 ▲915.90 ▲0.125.63 ▼0.552.53 ▼0.39
Dashboard /wp-admin2,892 ▲316.17 ▼0.06113.39 ▼16.92154.92 ▼8.33
Posts /wp-admin/edit.php2,694 ▲63.23 ▼0.0163.96 ▼0.16143.47 ▲0.73
Add New Post /wp-admin/post-new.php1,690 ▲2921.38 ▲3.75423.94 ▲42.37155.56 ▲2.33
Media Library /wp-admin/upload.php1,698 ▼05.52 ▼0.02137.22 ▼6.22188.13 ▲0.69

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
  • Screenshots: Please add descriptions for these screenshots #2, #3, #4 in addressfinder-woo/assets to your readme.txt
The official readme.txt is a good inspiration

addressfinder-woo/woocommerce-addressfinder.php 92% from 13 tests

"WooCommerce Address Validation and Autocomplete | AddressFinder" version 1.4.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("addressfinder-woo.php" instead of "woocommerce-addressfinder.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin216 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.28
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin