Smart COD for WooCommerce

All the COD restrictions and extra fees you'll ever need, in a single plugin.

v1.8.4FullStack-ingUpdated 2025-10-03Added Jun 27, 201730k+ installs92% rating
39
Score
50
Errors
28
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability79

Top Issues by Category

security44
maintainability18
i18n14
repo_compliance2

Issues Details

78 issues found in latest scan

ERROR26
WordPress.Security.EscapeOutput.OutputNotEscaped

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$feature'.

ERROR13
WordPress.WP.I18n.TextDomainMismatch

Mismatched text domain. Expected 'wc-smart-cod' but got 'woocommerce'.

WARNING4
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

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

WARNING4
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

WARNING4
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING4
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_GET['section']

WARNING4
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

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

ERROR4
wp_function_not_compatible_with_requires_wp

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

ERROR3
WordPress.WP.DeprecatedParameters.Get_termsParam2Found

The parameter "array(\r\n\t\t\t'hide_empty' => false,\r\n\t\t\t'include' => $settings[ 'category_restriction' ]\r\n\t\t)" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERROR2
missing_direct_file_access_protection

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

WARNING1
PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound

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.

WARNING1
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING1
WordPress.DB.DirectDatabaseQuery.NoCaching

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERROR1
WordPress.DB.PreparedSQL.NotPrepared

Use placeholders and $wpdb->prepare(); found $query

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

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

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

WARNING1
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

Detected usage of a possibly undefined superglobal array index: $_GET['term']. Check that the array index exists before using it.

ERROR1
outdated_tested_upto_header

Tested up to: 6.8 < 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.

WARNING1
readme_parser_warnings_too_many_tags

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNING1
trademarked_term

The plugin slug includes a restricted term. Your plugin slug - "wc-smart-cod" - contains the restricted term "wc" which cannot be used at all in your plugin slug.

Latest Snapshot

Findings

78

Errors

50

Warnings

28

Score History

First score snapshot

First scan completed Jun 20, 2026

v1.8.4 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v1.8.4

39

Latest

Findings
78
Errors
50
Warnings
28
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins