Leo Product Recommendations for WooCommerce

Boost WooCommerce sales with smart product recommendation popups on add to cart.

v3.1.0LeoCoderUpdated Added 400 installs100% rating
76
Score
3
Errors
79
Warnings
+0
Change

Category Scores

Security67
Repo94
Performance96
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

82 findings

Maintainability

66

10 issue groups

Security

12

3 issue groups

Performance

2

2 issue groups

I18n

1

1 issue group

WARNINGMaintainabilityShort URL foundShort URL detected (cutt.ly). Use full URLs instead of URL shorteners.23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Short URL detected (cutt.ly). Use full URLs instead of URL shorteners.

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "flatsome_woocommerce_shop_loop_images".20
Category
Maintainability
Occurrences
20
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

Detected usage of tax_query, possible slow query.

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

Sample message

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

WARNINGMaintainabilityNo PHP code foundNo 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.1
Category
Maintainability
Occurrences
1
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.

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

Sample message

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

WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

Show 7 more
WARNINGMaintainabilityNon-prefixed function1
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: "leo_product_recommendations".

WARNINGSecurityMissing nonce verification1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Translators Comment1
Category
I18n
Occurrences
1
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.

WARNINGPerformancePost Not In exclude1
Category
Performance
Occurrences
1
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

WARNINGPerformancePost Not In post not in1
Category
Performance
Occurrences
1
Severity
warning

Sample message

Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

ERRORMaintainabilityMissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

External Connections

Potential connections found in static code analysis.

25 domains

Outbound calls

79

External assets

1

Incoming endpoints

13

Notable Domains

cutt.ly30 · outbound
fb.me4 · outbound
bugs.chromium.org3 · outbound
leocoder.com3 · outbound
lodash.com2 · outbound

Platform / Reference Domains

github.com9 · platform/reference
w3.org8 · platform/reference
wordpress.org2 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

youtube.com1 · asset

Incoming Endpoints

wp_ajax_nopriv_lc_ajax_add_to_cartpublic

wp_ajax

wp_ajax_nopriv_lpr_fetch_categoriespublic

wp_ajax

wp_ajax_nopriv_lpr_fetch_productspublic

wp_ajax

wp_ajax_nopriv_lpr_get_popup_datapublic

wp_ajax

wp_ajax_nopriv_lpr_initial_datapublic

wp_ajax

wp_ajax_nopriv_wpr_fetch_tagspublic

wp_ajax

Admin AJAX endpoints7
wp_ajax_deactivation_feedback_authenticated

wp_ajax

wp_ajax_lc_ajax_add_to_cartauthenticated

wp_ajax

wp_ajax_lpr_fetch_categoriesauthenticated

wp_ajax

wp_ajax_lpr_fetch_productsauthenticated

wp_ajax

wp_ajax_lpr_get_popup_dataauthenticated

wp_ajax

wp_ajax_lpr_initial_dataauthenticated

wp_ajax

wp_ajax_wpr_fetch_tagsauthenticated

wp_ajax

Score History

First score snapshot

v3.1.0

76

Latest

Findings
82
Errors
3
Warnings
79
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins