ELEX WooCommerce Address Validation & Google Address Autocomplete Plugin

Simple and easy to use address validation & google address autocomplete plugin. Uses EasyPost, UPS, USPS, AddressFinder & Google APIs.

v1.8.7ELEXtensionsUpdated Added 700 installs84% rating
78
Score
73
Errors
40
Warnings
+0
Change

Category Scores

Security75
Repo94
Performance100
Maintainability65

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

113 findings

I18n

58

5 issue groups

Maintainability

48

11 issue groups

Security

6

3 issue groups

Repo Compliance

1

1 issue group

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().23
Category
I18n
Occurrences
23
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORI18nText Domain MismatchMismatched text domain. Expected 'address-validation-address-auto-complete' but got 'wf-address-autocomplete-validation'.22
Category
I18n
Occurrences
22
Severity
error

Sample message

Mismatched text domain. Expected 'address-validation-address-auto-complete' but got 'wf-address-autocomplete-validation'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$address".18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$address".

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: __( 'Contact Support', 'address-validation-address-auto-complete' )10
Category
I18n
Occurrences
10
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: __( 'Contact Support', 'address-validation-address-auto-complete' )

ERRORMaintainabilitywp function not compatible with requires wpFunction "is_network_admin()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.1.10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

Function "is_network_admin()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.1.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wc_option_' . $key".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wc_option_' . $key".

WARNINGSecurityRequest data is not unslashed$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ADDRESS_VALIDATION_MAIN_PATH".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ADDRESS_VALIDATION_MAIN_PATH".

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "xa_wc_filter_shipping_state".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "xa_wc_filter_shipping_state".

Show 10 more
WARNINGSecurityNonce verification recommended2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGI18nNo Html Wrapped Strings2
Category
I18n
Occurrences
2
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<h2>Address Validation <span style="color: green"><sup>[Premium]</sup></span></h2>\r\n '

WARNINGMaintainabilitytrademarked term2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "ELEX Address Validation & Google Address Auto Complete Plugin for WooCommerce (Basic)" - contains the restricted term "plugin" which cannot be used at all in your plugin name.

WARNINGMaintainabilityNo PHP code found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "ELEX WooCommerce Address Validation & Google Address Autocomplete Plugin" is different from the name declared in plugin header "ELEX Address Validation & Google Address Auto Complete Plugin for WooCommerce (Basic)".

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGMaintainabilityupgrade notice limit1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The upgrade notice for "1.4.9" exceeds the limit of 300 characters.

External Connections

Potential connections found in static code analysis.

10 domains

Outbound calls

32

External assets

1

Incoming endpoints

4

Notable Domains

elextensions.com15 · outbound
easypost.com2 · outbound
api.easypost.com1 · outbound
getbootstrap.com1 · outbound

Platform / Reference Domains

w3.org7 · platform/reference
github.com2 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

Incoming Endpoints

wp_ajax_nopriv_wf_address_validationpublic

wp_ajax

wp_ajax_nopriv_wf_order_notepublic

wp_ajax

Admin AJAX endpoints2
wp_ajax_wf_address_validationauthenticated

wp_ajax

wp_ajax_wf_order_noteauthenticated

wp_ajax

Score History

First score snapshot

v1.8.7

78

Latest

Findings
113
Errors
73
Warnings
40
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

35 nodes

Related

Related Plugins