Assists with EU/UK/Norway/Switzerland VAT compliance for WooCommerce, for the VAT regimes that began in 2015 and were extended in 2021), including the …
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
542
11 issue groups
Maintainability
246
14 issue groups
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" $country_name ($country_code)"'.297
- Category
- Security
- Occurrences
- 297
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" $country_name ($country_code)"'.
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.67
- Category
- Security
- Occurrences
- 67
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wc_eu_vat_compliance_cc_tab_'.$slug".45
- Category
- Maintainability
- Occurrences
- 45
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wc_eu_vat_compliance_cc_tab_'.$slug".
WARNINGSecurityRecommendedProcessing form data without nonce verification.43
- Category
- Security
- Occurrences
- 43
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_EU_VAT_Compliance".38
- Category
- Maintainability
- Occurrences
- 38
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_EU_VAT_Compliance".
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['range']37
- Category
- Security
- Occurrences
- 37
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['range']
WARNINGSecurityMissing Unslash$_GET['range'] not unslashed before sanitization. Use wp_unslash() or similar37
- Category
- Security
- Occurrences
- 37
- Severity
- warning
Sample message
$_GET['range'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.34
- Category
- Maintainability
- Occurrences
- 34
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;30
- Category
- Maintainability
- Occurrences
- 30
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.29
- Category
- Maintainability
- Occurrences
- 29
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
Show 15 moreShow less
WARNINGSecurityUnescaped DBParameter16
- Category
- Security
- Occurrences
- 16
- Severity
- warning
Sample message
Unescaped parameter $address_sql used in $wpdb->get_results()\n$address_sql assigned unsafely at line 725.
WARNINGSecurityInput Not Validated12
- Category
- Security
- Occurrences
- 12
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_REQUEST['page']. Check that the array index exists before using it.
ERRORSecurityNot Prepared11
- Category
- Security
- Occurrences
- 11
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $address_sql
WARNINGMaintainabilityDirect Query10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityHeredoc Output Not Escaped10
- Category
- Security
- Occurrences
- 10
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found interpolation in unescaped heredoc.
WARNINGMaintainabilityNon Prefixed Variable Found9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_transient".
ERRORMaintainabilityfile system operations fclose9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
ERRORMaintainabilityrand rand9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- error
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
WARNINGSecurityInterpolated Not Prepared8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$table_prefix} at "SELECT * FROM {$table_prefix}wc_order_tax_lookup WHERE order_id=%d"
ERRORMaintainabilityfile system operations fopen8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
ERRORMaintainabilityparse url parse url7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
ERRORMaintainabilityfile system operations fread5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().
WARNINGSecurityMissing4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilityFound3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
The use of function eval() is forbidden
Score History
First score snapshot
v1.36.6
24
Latest
- Findings
- 832
- Errors
- 515
- Warnings
- 317
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 832 | 515 | 317 | v1.36.6 | 2.0.0 |