Raffle Play Woocommerce

Raffle Play Woo is generating raffle tickets for woocommerce products, based on the number defined by the admin. Adds raffle tickets to your woocommer …

v2.5.3dan009Updated Added 800 installs100% rating100% support resolved
31
Score
151
Errors
199
Warnings
+0
Change

Category Scores

Security0
Repo77
Performance100
Maintainability45

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

350 findings

Security

135

9 issue groups

Maintainability

134

10 issue groups

I18n

68

6 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 class='wc-block-components-title wc-block-components-checkout-step__title raffle-tickets-not-reserved-msg'> $not_reserved </h2>"'.64
Category
Security
Occurrences
64
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<h2 class='wc-block-components-title wc-block-components-checkout-step__title raffle-tickets-not-reserved-msg'> $not_reserved </h2>"'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$answer&quot;.27
Category
Maintainability
Occurrences
27
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$answer&quot;.

ERRORI18nMissing Translators CommentA 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.26
Category
I18n
Occurrences
26
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.

WARNINGMaintainabilityMixed line endingsFile has mixed line endings; this may cause incorrect results24
Category
Maintainability
Occurrences
24
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

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

Sample message

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

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().19
Category
I18n
Occurrences
19
Severity
error

Sample message

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

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'raffle-play-woo' but got 'advanced-crossword'.16
Category
I18n
Occurrences
16
Severity
error

Sample message

Mismatched text domain. Expected 'raffle-play-woo' but got 'advanced-crossword'.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb-&gt;prepare(); found interpolated variable $query at &quot;$query &quot;14
Category
Security
Occurrences
14
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $query at &quot;$query &quot;

Show 15 more
WARNINGSecurityDatabase parameter is not escaped13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

WARNINGMaintainabilitySchema Change13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNot In Footer11
Category
Maintainability
Occurrences
11
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.

WARNINGMaintainabilityMissing Version10
Category
Maintainability
Occurrences
10
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.

WARNINGSecurityMissing nonce verification7
Category
Security
Occurrences
7
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityNonce verification recommended7
Category
Security
Occurrences
7
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityUnsupported Identifier Placeholder6
Category
Security
Occurrences
6
Severity
error

Sample message

The %i modifier is only supported in WP 6.2 or higher. Found: "%i".

WARNINGSecurityRequest data is not unslashed4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_POST[&#039;data&#039;][self::GEN_CHECKOUT] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nNon Singular String Literal Text4
Category
I18n
Occurrences
4
Severity
error

Sample message

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

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.

WARNINGSecurityInput is not sanitized3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[self::PRODUCT_CKB]

ERRORI18nUnordered Placeholders Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Watch explanation %s and %s on this youtube videos I made'.

ERRORMaintainabilitybadly named files2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

ERRORMaintainabilityMissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

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.

External Connections

Potential connections found in static code analysis.

22 domains

Outbound calls

113

External assets

1

Incoming endpoints

5

Notable Domains

localise.biz24 · outbound
jqueryui.com21 · outbound
youtu.be13 · outbound
tuskcode.com9 · outbound
businessbloomer.com5 · outbound
api.jqueryui.com4 · outbound

Platform / Reference Domains

github.com6 · platform/reference
w3.org4 · platform/reference
opensource.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

youtube.com1 · asset

Incoming Endpoints

wp_ajax_nopriv_{$ajax_action_checkout_block}public

wp_ajax

Admin AJAX endpoints4
wp_ajax_{$ajax_action_checkout_block}authenticated

wp_ajax

wp_ajax_drp_fix_dbauthenticated

wp_ajax

wp_ajax_drp_get_dataauthenticated

wp_ajax

wp_ajax_drp_save_settingsauthenticated

wp_ajax

Score History

First score snapshot

v2.5.3

31

Latest

Findings
350
Errors
151
Warnings
199
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins