The leading web analytics plugin for WordPress
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
1,102
12 issue groups
Maintainability
624
12 issue groups
I18n
43
1 issue group
ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"($statusCode) for $service"'.523
- Category
- Security
- Occurrences
- 523
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"($statusCode) for $service"'.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$a_addon".321
- Category
- Maintainability
- Occurrences
- 321
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$a_addon".
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'>\n'.193
- Category
- Security
- Occurrences
- 193
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'>\n'.
ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $GLOBALS102
- Category
- Security
- Occurrences
- 102
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $GLOBALS
WARNINGSecurityMissing Unslash$_COOKIE['comment_author_' . COOKIEHASH] not unslashed before sanitization. Use wp_unslash() or similar70
- Category
- Security
- Occurrences
- 70
- Severity
- warning
Sample message
$_COOKIE['comment_author_' . COOKIEHASH] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.49
- Category
- Maintainability
- Occurrences
- 49
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().49
- Category
- Maintainability
- Occurrences
- 49
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityRecommendedProcessing form data without nonce verification.46
- Category
- Security
- Occurrences
- 46
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.43
- Category
- I18n
- Occurrences
- 43
- Severity
- error
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_COOKIE['slimstat_tracking_code']42
- Category
- Security
- Occurrences
- 42
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE['slimstat_tracking_code']
Show 15 moreShow less
ERRORMaintainabilitymissing direct file access protection38
- Category
- Maintainability
- Occurrences
- 38
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORSecurityUnescaped DBParameter35
- Category
- Security
- Occurrences
- 35
- Severity
- error
Sample message
Unescaped parameter $GLOBALS['wpdb']->prefix used in $wpdb->get_results()\n$GLOBALS['wpdb']->prefix used without escaping.
ERRORMaintainabilitywp function not compatible with requires wp35
- Category
- Maintainability
- Occurrences
- 35
- Severity
- error
Sample message
Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.6.0.
ERRORMaintainabilitydate date33
- Category
- Maintainability
- Occurrences
- 33
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORMaintainabilityparse url parse url27
- Category
- Maintainability
- Occurrences
- 27
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
WARNINGSecurityInterpolated Not Prepared25
- Category
- Security
- Occurrences
- 25
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$GLOBALS['wpdb']->prefix} at \t\t\tFROM {$GLOBALS['wpdb']->prefix}slim_stats\n
WARNINGSecurityMissing19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilityunlink unlink19
- Category
- Maintainability
- Occurrences
- 19
- Severity
- error
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
WARNINGSecurityInput Not Validated17
- Category
- Security
- Occurrences
- 17
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['filter_array']. Check that the array index exists before using it.
ERRORSecurityUnsafe Printing Function16
- Category
- Security
- Occurrences
- 16
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityUnescaped DBParameter14
- Category
- Security
- Occurrences
- 14
- Severity
- warning
Sample message
Unescaped parameter $events_table used in $wpdb->get_var()\n$events_table assigned unsafely at line 109.
WARNINGMaintainabilityNon Prefixed Function Found14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "getallheaders".
WARNINGMaintainabilityerror log trigger error14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- warning
Sample message
trigger_error() found. Debug code should not normally be used in production.
WARNINGMaintainabilityerror log var export13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
var_export() found. Debug code should not normally be used in production.
ERRORMaintainabilityfile system operations fopen12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
Score History
First score snapshot
v5.4.12
24
Latest
- Findings
- 1,906
- Errors
- 1,169
- Warnings
- 737
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 1,906 | 1,169 | 737 | v5.4.12 | 2.0.0 |