84% address44

Code Review | Address44

WordPress plugin Address44 scored84%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: 6.3.1
  • 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

20+ active /577 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.77ms] Passed 4 tests

A check of server-side resources used by Address44
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0140.60 ▲3.03
Dashboard /wp-admin3.32 ▲0.0144.51 ▼6.00
Posts /wp-admin/edit.php3.37 ▲0.0145.00 ▼2.46
Add New Post /wp-admin/post-new.php5.90 ▲0.0186.86 ▼16.14
Media Library /wp-admin/upload.php3.24 ▲0.0135.54 ▲1.52
Address44 /wp-admin/options-general.php?page=address44_settings3.2132.95

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Address44
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.60 ▼0.571.76 ▲0.2344.14 ▲4.57
Dashboard /wp-admin2,210 ▲194.82 ▼0.07101.26 ▼0.8139.38 ▼7.90
Posts /wp-admin/edit.php2,093 ▲42.11 ▲0.1136.50 ▼1.3431.68 ▼1.41
Add New Post /wp-admin/post-new.php1,532 ▼123.26 ▲0.10601.67 ▼58.0848.17 ▼10.64
Media Library /wp-admin/upload.php1,395 ▲134.27 ▲0.0797.72 ▲0.4240.87 ▼1.86
Address44 /wp-admin/options-general.php?page=address44_settings7792.0527.2726.93

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
Please fix the following items
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/address44/address44.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: woocommerce, uk address auto-complete, address autocomplete, uk address lookup, woocommerce postcode lookup...

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 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected48 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1132348

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin