Animated Number Counters

Animated Number Counters is a lightweight, responsive, and mobile-friendly WordPress plugin that boasts extraordinary design.

v2.6wpmartUpdated Added 2k+ installs68% rating
25
Score
408
Errors
1,949
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,357 findings

Maintainability

1,309

11 issue groups

Security

1,023

10 issue groups

I18n

22

4 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$allCounter".767
Category
Maintainability
Occurrences
767
Severity
warning

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"' class='anc-row-select-checkbox' {$checked} /></td>"'.259
Category
Security
Occurrences
259
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"' class='anc-row-select-checkbox' {$checked} /></td>"'.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[&#039;add_edit_counter_id&#039;]. Check that the array index exists before using it.193
Category
Security
Occurrences
193
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;add_edit_counter_id&#039;]. Check that the array index exists before using it.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb-&gt;prepare(); found interpolated variable $counter_table at &quot;SELECT * FROM $counter_table WHERE id = %d &quot;160
Category
Security
Occurrences
160
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $counter_table at &quot;SELECT * FROM $counter_table WHERE id = %d &quot;

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

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $counter_table used in $wpdb-&gt;get_results()\n$counter_table assigned unsafely at line 2205.134
Category
Security
Occurrences
134
Severity
warning

Sample message

Unescaped parameter $counter_table used in $wpdb-&gt;get_results()\n$counter_table assigned unsafely at line 2205.

WARNINGSecurityRequest data is not unslashed$_GET[&#039;styleid&#039;] not unslashed before sanitization. Use wp_unslash() or similar126
Category
Security
Occurrences
126
Severity
warning

Sample message

$_GET[&#039;styleid&#039;] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

WARNINGMaintainabilityMissing VersionResource 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.84
Category
Maintainability
Occurrences
84
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.

Show 15 more
WARNINGSecurityNonce verification recommended67
Category
Security
Occurrences
67
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitized63
Category
Security
Occurrences
63
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&#039;styleid&#039;]

WARNINGMaintainabilityNot In Footer48
Category
Maintainability
Occurrences
48
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.

ERRORSecuritySQL query is not prepared13
Category
Security
Occurrences
13
Severity
error

Sample message

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

ERRORI18nMissing Arg Domain9
Category
I18n
Occurrences
9
Severity
error

Sample message

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

ERRORMaintainabilityOffloaded Content7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.

WARNINGI18nNo Html Wrapped Strings6
Category
I18n
Occurrences
6
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: &#039;&lt;p class=&quot;anc_6310_error-message&quot;&gt;An error occurred, please try again.&lt;/p&gt;&#039;

ERRORI18nNon Singular String Literal Text6
Category
I18n
Occurrences
6
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $value

ERRORSecurityDatabase parameter is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

Unescaped parameter $counter_table used in $wpdb->get_results()\n$counter_table used without escaping.

WARNINGSecurityReplacements Wrong Number4
Category
Security
Occurrences
4
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb-&gt;prepare(). Found 1 replacement parameters, expected 11.

WARNINGMaintainabilitySchema Change3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORMaintainabilityLocalhost URL found2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Do not use Localhost/127.0.0.1/*.local in your code. Found: http://localhost/

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.

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.

WARNINGMaintainabilityABSPATHDetected1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.6

25

Latest

Findings
2,357
Errors
408
Warnings
1,949
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins