HD Quiz

Create a Quiz. An easy-to-use feature rich plugin to create quizzes with quiz timer, pagination, hints, advanced marking, and leading help and support

v2.2.1Harmonic DesignUpdated Added 7k+ installs98% rating100% support resolved
39
Score
252
Errors
81
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance96
Maintainability72

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

333 findings

Security

281

7 issue groups

Maintainability

41

8 issue groups

I18n

10

4 issue groups

Performance

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 '$activeClass'.205
Category
Security
Occurrences
205
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.36
Category
Security
Occurrences
36
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.10
Category
Security
Occurrences
10
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_POST['hdq_tools_nonce'] not unslashed before sanitization. Use wp_unslash() or similar9
Category
Security
Occurrences
9
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES['hdq_csv_file_upload']8
Category
Security
Occurrences
8
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['hdq_csv_file_upload']

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityslow db query tax queryDetected usage of tax_query, possible slow query.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORI18nText Domain MismatchMismatched text domain. Expected 'hd-quiz' but got 'text_domain'.5
Category
I18n
Occurrences
5
Severity
error

Sample message

Mismatched text domain. Expected 'hd-quiz' but got 'text_domain'.

Show 10 more
WARNINGMaintainabilityNot In Footer4
Category
Maintainability
Occurrences
4
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.

ERRORI18nMissing Arg Domain3
Category
I18n
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityNo PHP code found2
Category
Maintainability
Occurrences
2
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.

ERRORMaintainabilityForbidden PHP function found1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The use of function move_uploaded_file() is forbidden

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.

ERRORMaintainabilitydate date1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityparse url parse url1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERRORMaintainabilityDeprecated parameter: get_terms parameter 21
Category
Maintainability
Occurrences
1
Severity
error

Sample message

The parameter "$args" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORPerformanceSuppress Filters suppress filters1
Category
Performance
Occurrences
1
Severity
error

Sample message

Setting `suppress_filters` to `true` is prohibited.

Score History

First score snapshot

v2.2.1

39

Latest

Findings
333
Errors
252
Warnings
81
Check
2.0.0

Related Plugins