Yes/No Chart

This plugin provides the function to create a set of questions to answer with "yes / no (/or other)". Yes/Noチャートを作れるプラグインです。

v1.0.12kohseiworksUpdated Added 2k+ installs90% rating
35
Score
136
Errors
139
Warnings
+0
Change

Category Scores

Security0
Repo80
Performance100
Maintainability67

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

275 findings

Security

184

11 issue groups

Maintainability

82

8 issue groups

I18n

5

2 issue groups

Repo Compliance

4

4 issue groups

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.32
Category
Maintainability
Occurrences
32
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().32
Category
Maintainability
Occurrences
32
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 $get_recent used in $wpdb->get_row()\n$get_recent assigned unsafely at line 205.24
Category
Security
Occurrences
24
Severity
error

Sample message

Unescaped parameter $get_recent used in $wpdb->get_row()\n$get_recent assigned unsafely at line 205.

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['action'] not unslashed before sanitization. Use wp_unslash() or similar24
Category
Security
Occurrences
24
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['opt_type']. Check that the array index exists before using it.15
Category
Security
Occurrences
15
Severity
warning

Sample message

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

ERRORMaintainabilityNot AllowedUse of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table used in $wpdb-&gt;get_col()\n$table assigned unsafely at line 154.4
Category
Security
Occurrences
4
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb-&gt;get_col()\n$table assigned unsafely at line 154.

Show 15 more
WARNINGSecurityInterpolated SQL is not prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable {$table} at &quot;DESC {$table}&quot;

ERRORSecurityOutput is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

ERRORMaintainabilitydate date3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Domain3
Category
I18n
Occurrences
3
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $pinfo['TextDomain']

ERRORMaintainabilitystrip tags strip tags2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORI18nMissing Translators Comment2
Category
I18n
Occurrences
2
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.

WARNINGSecurityMissing nonce verification1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

WARNINGMaintainabilityDeprecated function: get_currentuserinfo1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

get_currentuserinfo() has been deprecated since WordPress version 4.5.0. Use wp_get_current_user() instead.

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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

Sample message

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

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Compliancereadme description non official language1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The readme description contains unofficial language. It must be written in standard English.

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

Not analyzed yet.

Score History

First score snapshot

v1.0.12

35

Latest

Findings
275
Errors
136
Warnings
139
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Easy Charts

1k+ active installs

80
WP GPX Maps

4k+ active installs

35
WP Spam Question Filter

2k+ active installs

35
Chained Quiz

1k+ active installs

29