Bosta WooCommerce

The official Bosta for WooCommerce plugin allows you to automate your e-commerce order process.

v4.5.7bostateamUpdated Added 700 installs48% rating
33
Score
303
Errors
180
Warnings
+0
Change

Category Scores

Security0
Repo73
Performance100
Maintainability58

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

483 findings

Security

234

8 issue groups

I18n

190

5 issue groups

Maintainability

51

12 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'bosta-woocommerce' but got "themeprefix".166
Category
I18n
Occurrences
166
Severity
error

Sample message

Mismatched text domain. Expected 'bosta-woocommerce' but got "themeprefix".

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Something went wrong: $error_message"'.36
Category
Security
Occurrences
36
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Something went wrong: $error_message"'.

WARNINGSecurityRequest data is not unslashed$_GET[$action] not unslashed before sanitization. Use wp_unslash() or similar33
Category
Security
Occurrences
33
Severity
warning

Sample message

$_GET[$action] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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.17
Category
I18n
Occurrences
17
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.

WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[$nonce_field]11
Category
Security
Occurrences
11
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[$nonce_field]

Show 15 more
WARNINGSecuritywp redirect wp redirect8
Category
Security
Occurrences
8
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.

WARNINGSecurityInput is not validated6
Category
Security
Occurrences
6
Severity
warning

Sample message

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

ERRORMaintainabilitydate date5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilityerror log print r5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain3
Category
I18n
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "Bosta WooCommerce" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your name.

WARNINGMaintainabilityNon-prefixed constant2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

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 'Failed to update product %s: %s'.

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityDirect Query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching1
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 key1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta value1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

External Connections

Potential connections found in static code analysis.

5 domains

Outbound calls

8

External assets

1

Incoming endpoints

6

Notable Domains

bosta.co2 · outbound
business.bosta.co2 · outbound
docs.bosta.co1 · outbound
woocommerce.com1 · outbound

External Asset Domains

app.bosta.co3 · asset + outbound

Incoming Endpoints

/wp-json/bosta/v1/webhook/orders/(?P<order_id>\d+)REST

register_rest_route

/wp-json/bosta/v1/webhook/stock-syncREST

register_rest_route

Admin AJAX endpoints4
wp_ajax_bosta_refresh_fulfillment_statusauthenticated

wp_ajax

wp_ajax_bosta_sync_productsauthenticated

wp_ajax

wp_ajax_bosta_sync_products_to_bostaauthenticated

wp_ajax

wp_ajax_bosta_sync_quantityauthenticated

wp_ajax

Score History

First score snapshot

v4.5.7

33

Latest

Findings
483
Errors
303
Warnings
180
Check
2.0.0

Relationship Map

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

33 nodes

Related Plugins