Survey Maker by AYS

Create free online surveys and get your visitors' feedbacks directly on your WordPress website with WordPress Survey Plugin

v5.2.3.0Ays ProUpdated Added 6k+ installs96% rating75% support resolved
25
Score
566
Errors
2,397
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,963 findings

Security

1,519

11 issue groups

Maintainability

1,277

9 issue groups

I18n

131

5 issue groups

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

Sample message

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

WARNINGSecurityMissing Unslash$_GET[$url_parameter] not unslashed before sanitization. Use wp_unslash() or similar494
Category
Security
Occurrences
494
Severity
warning

Sample message

$_GET[$url_parameter] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $answer_id168
Category
Security
Occurrences
168
Severity
error

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET[$url_parameter]131
Category
Security
Occurrences
131
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[$url_parameter]

ERRORSecurityUnescaped DBParameterUnescaped parameter $answer_id used in $wpdb->get_results()\n$answer_id assigned unsafely at line 1204.119
Category
Security
Occurrences
119
Severity
error

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['id']. Check that the array index exists before using it.99
Category
Security
Occurrences
99
Severity
warning

Sample message

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

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$actions'.66
Category
Security
Occurrences
66
Severity
error

Sample message

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

Show 15 more
WARNINGSecuritywp redirect wp redirect50
Category
Security
Occurrences
50
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERRORI18nMissing Translators Comment48
Category
I18n
Occurrences
48
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.

ERRORI18nUnordered Placeholders Text41
Category
I18n
Occurrences
41
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s By Cookie %s - Detect the users by their browser cookies and limit them. It will work both for guests and registered users.'.

ERRORMaintainabilitymissing direct file access protection39
Category
Maintainability
Occurrences
39
Severity
error

Sample message

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

WARNINGSecurityMissing31
Category
Security
Occurrences
31
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon Prefixed Hookname Found21
Category
Maintainability
Occurrences
21
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal Text21
Category
I18n
Occurrences
21
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: "<span><a href='". $survey_cta_button_link ."' target='_blank' style='color:#ffffff; text-decoration: underline;'>Mega Bundle</a></span> (Quiz + Survey + Poll)"

WARNINGSecurityUnescaped DBParameter19
Category
Security
Occurrences
19
Severity
warning

Sample message

Unescaped parameter $answers_table used in $wpdb-&gt;query()\n$answers_table assigned unsafely at line 2502.

ERRORMaintainabilitydate date18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

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

ERRORI18nText Domain Mismatch13
Category
I18n
Occurrences
13
Severity
error

Sample message

Mismatched text domain. Expected 'survey-maker' but got 'secure-copy-content-protection'.

ERRORMaintainabilitywp function not compatible with requires wp11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

Function "get_user_locale()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.0.0.

WARNINGMaintainabilitySchema Change10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityInterpolated Not Prepared10
Category
Security
Occurrences
10
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $submission_id at &quot;submissions SET `read`= 1 WHERE `id`= $submission_id&quot;

ERRORI18nMissing Arg Domain8
Category
I18n
Occurrences
8
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Function Found7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;activate_survey_maker&quot;.

Score History

First score snapshot

v5.2.3.0

25

Latest

Findings
2,963
Errors
566
Warnings
2,397
Check
2.0.0

Related Plugins