Mechanic Visitor Counter

Mechanic Visitor Counter is a widgets which will display the Visitor counter and traffic statistics on WordPress. Some of the features offered include …

v3.3.3Aditya SubawaUpdated Added 8k+ installs72% rating
35
Score
240
Errors
66
Warnings
+0
Change

Category Scores

Security0
Repo77
Performance100
Maintainability67

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

306 findings

Security

212

10 issue groups

Maintainability

50

10 issue groups

I18n

38

4 issue groups

Repo Compliance

1

1 issue group

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

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.35
Category
Security
Occurrences
35
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'mechanic-visitor-counter' but got 'wp-statsmechanic'.35
Category
I18n
Occurrences
35
Severity
error

Sample message

Mismatched text domain. Expected 'mechanic-visitor-counter' but got 'wp-statsmechanic'.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $bataswaktu at "` WHERE online > '$bataswaktu'"19
Category
Security
Occurrences
19
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $bataswaktu at "` WHERE online > '$bataswaktu'"

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

Sample message

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

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

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $bataswaktu used in $wpdb->query()\n$bataswaktu assigned unsafely at line 198.13
Category
Security
Occurrences
13
Severity
error

Sample message

Unescaped parameter $bataswaktu used in $wpdb->query()\n$bataswaktu assigned unsafely at line 198.

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

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "acak".5
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: "acak".

Show 15 more
ERRORMaintainabilityOffloaded Content2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityNon-prefixed constant2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

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.

ERRORSecuritySetting is missing a sanitization callback1
Category
Security
Occurrences
1
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilitySchema Change1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Wp_StatsMechanic".

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['REMOTE_ADDR']

WARNINGSecurityInput is not validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_SERVER['REMOTE_ADDR'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORSecurityDeprecated function: attribute_escape1
Category
Security
Occurrences
1
Severity
error

Sample message

attribute_escape() has been deprecated since WordPress version 2.8.0. Use esc_attr() instead.

ERRORMaintainabilityDeprecated function: wp_specialchars1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

wp_specialchars() has been deprecated since WordPress version 2.8.0. Use esc_html() instead.

ERRORMaintainabilityNon Enqueued Stylesheet1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: 'Your PHP version must be above V5.4. Mechanic visitor counter plugin no longer support php legacy versions (v5.2.X, v5.3.X). Your current PHP version is <b>' . phpversion().'</b>.'

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

Score History

First score snapshot

v3.3.3

35

Latest

Findings
306
Errors
240
Warnings
66
Check
2.0.0

Related Plugins

WPS Visitor Counter

10k+ active installs

99
XT Visitor Counter

7k+ active installs

37