Lucky Wheel Giveaway

Collect customer's emails by spinning the lucky wheel game to get discount coupons.

v1.1.1VillaThemeUpdated Added 500 installs78% rating
96
Score
3
Errors
27
Warnings
+0
Change

Category Scores

Security100
Repo100
Performance100
Maintainability81

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

30 findings

Maintainability

30

9 issue groups

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "VI_WP_LUCKY_WHEEL_ADMIN".9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "VI_WP_LUCKY_WHEEL_ADMIN".

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wp_lucky_wheel_params_default_' . $name . '__' . $name_sub".6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wp_lucky_wheel_params_default_' . $name . '__' . $name_sub".

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "VI_WP_LUCKY_WHEEL_Admin_Settings".5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "VI_WP_LUCKY_WHEEL_Admin_Settings".

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

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "is_php_version_compatible()" requires WordPress 5.2.0, but your plugin minimum supported version is WordPress 5.0.0.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "is_php_version_compatible()" requires WordPress 5.2.0, but your plugin minimum supported version is WordPress 5.0.0.

WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$name_filter".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "vi_include_folder".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "vi_include_folder".

WARNINGMaintainabilitytrademarked termThe plugin slug includes a restricted term. Your plugin slug - "wp-lucky-wheel" - contains the restricted term "wp" which cannot be used at all in your plugin slug.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The plugin slug includes a restricted term. Your plugin slug - "wp-lucky-wheel" - contains the restricted term "wp" which cannot be used at all in your plugin slug.

ERRORMaintainabilitytrunk stable tagIncorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

External Connections

Potential connections found in static code analysis.

14 domains

Outbound calls

73

External assets

0

Incoming endpoints

4

Notable Domains

1.envato.market19 · outbound
docs.villatheme.com2 · outbound
google.com1 · outbound
script.google.com1 · outbound
tommoor.com1 · outbound

Platform / Reference Domains

github.com22 · platform/reference
opensource.org18 · platform/reference
w3.org2 · platform/reference
wordpress.org2 · platform/reference
api.wordpress.org1 · platform/reference
codex.wordpress.org1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

/wp-json/wordpress_lucky_wheel/spinREST

register_rest_route

wp_ajax_nopriv_wplwl_get_emailpublic

wp_ajax

Admin AJAX endpoints2
wp_ajax_wplwl_get_emailauthenticated

wp_ajax

wp_ajax_wplwl_preview_emailsauthenticated

wp_ajax

Score History

First score snapshot

v1.1.1

96

Latest

Findings
30
Errors
3
Warnings
27
Check
2.0.0

Relationship Map

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

36 nodes

Related Plugins