SMS Abandoned Cart Recovery ✦ CartBoss

Boost your sales by recovering abandoned carts with pre-prepared & translated text messages!

v4.2.1CartBossUpdated Added 400 installs98% rating
34
Score
67
Errors
72
Warnings
+0
Change

Category Scores

Security0
Repo80
Performance100
Maintainability60

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

139 findings

Security

77

10 issue groups

Maintainability

49

13 issue groups

I18n

3

2 issue groups

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

Sample message

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

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

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

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[$key]

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

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wpFunction "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.0.0.7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $sql used in $wpdb->query()\n$sql assigned unsafely at line 14.6
Category
Security
Occurrences
6
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->query()\n$sql assigned unsafely at line 14.

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Method '{$httpMethod}' not implemented"'.6
Category
Security
Occurrences
6
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Method '{$httpMethod}' not implemented"'.

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

Sample message

Processing form data without nonce verification.

WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" 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.6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_COOKIE[$key] not unslashed before sanitization. Use wp_unslash() or similar6
Category
Security
Occurrences
6
Severity
warning

Sample message

$_COOKIE[$key] not unslashed before sanitization. Use wp_unslash() or similar

Show 15 more
ERRORSecurityOutput is not escaped5
Category
Security
Occurrences
5
Severity
error

Sample message

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

ERRORMaintainabilityparse url parse url4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed function3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityMissing direct file access protection3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityDiscouraged PHP function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGMaintainabilityerror log print r2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGMaintainabilityerror log trigger error2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

trigger_error() found. Debug code should not normally be used in production.

WARNINGSecurityInput is not validated or sanitized2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized, non-validated input variable _SERVER: "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"

ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

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.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityslow db query meta query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon-prefixed class1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

External Connections

Potential connections found in static code analysis.

27 domains

Outbound calls

70

External assets

1

Incoming endpoints

3

Notable Domains

php.net12 · outbound
cartboss.io8 · outbound
bugs.php.net4 · outbound
app.cartboss.io3 · outbound
tools.ietf.org3 · outbound
unicode.org3 · outbound

Platform / Reference Domains

github.com12 · platform/reference
opensource.org2 · platform/reference
w3.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

cdn.jsdelivr.net2 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_{$this->action}public

wp_ajax

Admin AJAX endpoints2
admin_post_cartboss_form_saveauthenticated

admin_post

wp_ajax_{$this->action}authenticated

wp_ajax

Score History

First score snapshot

v4.2.1

34

Latest

Findings
139
Errors
67
Warnings
72
Check
2.0.0

Relationship Map

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

37 nodes

Related

Related Plugins