WP Show Stats

Real time and complete stats to your WP site. Comprehensive WordPress plugin for your personal dashboard and to keep track on all WordPress elements.

v1.5Ashish AjaniUpdated Added 400 installs100% rating
37
Score
197
Errors
103
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability66

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

300 findings

Security

211

7 issue groups

Maintainability

87

9 issue groups

Repo Compliance

2

2 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$colorsArray[$i]'.142
Category
Security
Occurrences
142
Severity
error

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.25
Category
Maintainability
Occurrences
25
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().25
Category
Maintainability
Occurrences
25
Severity
warning

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $currentDay20
Category
Security
Occurrences
20
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.17
Category
Security
Occurrences
17
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $currentDay used in $wpdb->get_var()\n$currentDay assigned unsafely at line 84.10
Category
Security
Occurrences
10
Severity
error

Sample message

Unescaped parameter $currentDay used in $wpdb->get_var()\n$currentDay assigned unsafely at line 84.

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[$field_key]9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$field_key]

WARNINGSecurityRequest data is not unslashed$_POST[$field_key] not unslashed before sanitization. Use wp_unslash() or similar9
Category
Security
Occurrences
9
Severity
warning

Sample message

$_POST[$field_key] not unslashed before sanitization. Use wp_unslash() or similar

Show 8 more
WARNINGMaintainabilityNon-prefixed function5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityInput is not validated4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing Version3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP Show Stats" - contains the restricted term "wp" 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.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

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

Sample message

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

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

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

External Connections

Potential connections found in static code analysis.

4 domains

Outbound calls

10

External assets

1

Incoming endpoints

0

Notable Domains

jqueryui.com2 · outbound

Platform / Reference Domains

wordpress.org5 · platform/reference

External Asset Domains

google.com2 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.5

37

Latest

Findings
300
Errors
197
Warnings
103
Check
2.0.0

Relationship Map

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

28 nodes

Related Plugins

Headline Analyzer

1k+ active installs

50
35