Colete-Online

Integrate your online shop with the Colete-Online platform to validate addresses, display courier prices and create courier orders.

v2.1.0coleteonlineUpdated Added 600 installs70% rating
30
Score
775
Errors
346
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability29

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,121 findings

I18n

442

6 issue groups

Maintainability

344

10 issue groups

Security

334

8 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'colete-online' but got "coleteonline".421
Category
I18n
Occurrences
421
Severity
error

Sample message

Mismatched text domain. Expected 'colete-online' but got "coleteonline".

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

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$this->prefix-multiple"'.170
Category
Security
Occurrences
170
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$this->prefix-multiple"'.

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo ! ..." but found "<?= ! ..."134
Category
Maintainability
Occurrences
134
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo ! ..." but found "<?= ! ..."

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[&#039;city&#039;]42
Category
Security
Occurrences
42
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&#039;city&#039;]

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

Sample message

Processing form data without nonce verification.

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

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$body'.12
Category
Security
Occurrences
12
Severity
error

Sample message

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

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

Sample message

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

Show 15 more
ERRORSecurityUnsafe printing function10
Category
Security
Occurrences
10
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed6
Category
Security
Occurrences
6
Severity
warning

Sample message

$_POST[&#039;coleteonline_service_shipping_point-&#039; . $method_id] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed function4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;activate_colete_online&quot;.

WARNINGMaintainabilityNon-prefixed hook name4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;active_plugins&quot;.

WARNINGMaintainabilityslow db query meta key3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityMissing Version3
Category
Maintainability
Occurrences
3
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.

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 "Order AWB (%s) created automatically. Estimated pick up date: %s.".

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.

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;DOING_AJAX&quot;.

WARNINGMaintainabilityerror log error log1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceplugin header invalid author uri1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Author URI" header in the plugin file is not valid.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "coleteonline", expected "colete-online".

External Connections

Potential connections found in static code analysis.

8 domains

Outbound calls

118

External assets

1

Incoming endpoints

9

Notable Domains

php-di.org3 · outbound

Platform / Reference Domains

github.com96 · platform/reference
w3.org7 · platform/reference
gnu.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

colete-online.ro9 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints9
wp_ajax_coleteonline_add_extra_courier_orderauthenticated

wp_ajax

wp_ajax_coleteonline_create_courier_orderauthenticated

wp_ajax

wp_ajax_coleteonline_dismiss_review_noticeauthenticated

wp_ajax

wp_ajax_coleteonline_get_all_addressesauthenticated

wp_ajax

wp_ajax_coleteonline_get_balanceauthenticated

wp_ajax

wp_ajax_coleteonline_get_l2l_offersauthenticated

wp_ajax

wp_ajax_coleteonline_get_order_labelauthenticated

wp_ajax

wp_ajax_coleteonline_get_services_listauthenticated

wp_ajax

wp_ajax_coleteonline_save_l2l_preferenceauthenticated

wp_ajax

Score History

First score snapshot

v2.1.0

30

Latest

Findings
1,121
Errors
775
Warnings
346
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins