ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin)

Connects Google Analytics with your WordPress site. Displays stats to help you understand your users and site content on a whole new level!

v9.2.2Syed BalkhiUpdated Added 300k+ installs50% rating
24
Score
118
Errors
442
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance98
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

560 findings

Maintainability

309

18 issue groups

Security

213

5 issue groups

I18n

26

2 issue groups

WARNINGSecurityRecommendedProcessing form data without nonce verification.123
Category
Security
Occurrences
123
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$background_color".84
Category
Maintainability
Occurrences
84
Severity
warning

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['_exactmetrics_sitenote_note']42
Category
Security
Occurrences
42
Severity
warning

Sample message

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

ERRORMaintainabilitybadly named filesFile and folder names must not contain spaces or special characters.42
Category
Maintainability
Occurrences
42
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

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

Sample message

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

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

Sample message

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

WARNINGSecurityMissing Unslash$_POST['date_range'] not unslashed before sanitization. Use wp_unslash() or similar24
Category
Security
Occurrences
24
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "admin_head".23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "admin_head".

WARNINGSecurityUnescaped DBParameterUnescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 327.21
Category
Security
Occurrences
21
Severity
warning

Sample message

Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 327.

Show 15 more
ERRORI18nText Domain Mismatch20
Category
I18n
Occurrences
20
Severity
error

Sample message

Mismatched text domain. Expected 'google-analytics-dashboard-for-wp' but got 'exactmetrics'.

WARNINGMaintainabilityNon Prefixed Constant Found13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Function Found8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGMaintainabilityNo Code Found6
Category
Maintainability
Occurrences
6
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.

ERRORI18nMissing Translators Comment6
Category
I18n
Occurrences
6
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.

WARNINGMaintainabilitySchema Change5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityslow db query meta key4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORSecurityLike Wildcards In Query3
Category
Security
Occurrences
3
Severity
error

Sample message

SQL wildcards for a LIKE query should be passed in through a replacement parameter. Found: LIKE '_transient_exactmetrics_report_%%'.

WARNINGMaintainabilityslow db query meta value3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

ERRORMaintainabilityunlink unlink3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "ExactMetrics - Google Analytics Dashboard for WordPress (Website Stats Plugin)" - contains the restricted term "plugin" which cannot be used at all in your plugin name.

ERRORMaintainabilityPlugin Directory Write2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Plugin folders are deleted when upgraded. Do not save data to the plugin folder using unzip_file(). Detected usage of constant WP_CONTENT_DIR. Use wp_upload_dir() to get the uploads directory path or save to the database instead.

WARNINGMaintainabilityDiscouraged2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
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.

ERRORMaintainabilityNon Enqueued Stylesheet2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

Score History

First score snapshot

v9.2.2

24

Latest

Findings
560
Errors
118
Warnings
442
Check
2.0.0

Related Plugins

Machete

7k+ active installs

99
Search Analytics for WP

3k+ active installs

99
Web Worker Offloading

10k+ active installs

99
98
Google Tag Manager

10k+ active installs

98