ECPay Ecommerce for WooCommerce

綠界科技外掛套件,提供合作特店以及個人賣家使用開放原始碼商店系統時,無須自行處理複雜的檢核,直接透過安裝設定外掛套件,便可快速介接綠界科技系統,進行金流、物流、電子發票操作。

v1.1.2603230techsupportUpdated Added 2k+ installs0% rating
24
Score
491
Errors
739
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability8

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,230 findings

Security

744

10 issue groups

Maintainability

254

11 issue groups

I18n

204

4 issue groups

WARNINGSecurityMissingProcessing form data without nonce verification.216
Category
Security
Occurrences
216
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$api_logistic_info['action']'.194
Category
Security
Occurrences
194
Severity
error

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['has_block']. Check that the array index exists before using it.142
Category
Security
Occurrences
142
Severity
warning

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'ecpay-ecommerce-for-woocommerce' but got 'Cvs type'.122
Category
I18n
Occurrences
122
Severity
error

Sample message

Mismatched text domain. Expected 'ecpay-ecommerce-for-woocommerce' but got 'Cvs type'.

WARNINGSecurityMissing Unslash$_GET['has_block'] not unslashed before sanitization. Use wp_unslash() or similar86
Category
Security
Occurrences
86
Severity
warning

Sample message

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

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

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.62
Category
Maintainability
Occurrences
62
Severity
warning

Sample message

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

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;60
Category
Maintainability
Occurrences
60
Severity
error

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['has_block']42
Category
Security
Occurrences
42
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.32
Category
Maintainability
Occurrences
32
Severity
warning

Sample message

Use of a direct database call is discouraged.

Show 15 more
WARNINGMaintainabilityNo Caching30
Category
Maintainability
Occurrences
30
Severity
warning

Sample message

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

WARNINGSecurityInterpolated Not Prepared26
Category
Security
Occurrences
26
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $field at "SELECT $field\n

WARNINGMaintainabilityNon Prefixed Variable Found24
Category
Maintainability
Occurrences
24
Severity
warning

Sample message

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

WARNINGSecurityUnescaped DBParameter20
Category
Security
Occurrences
20
Severity
warning

Sample message

Unescaped parameter $table_name used in $wpdb->get_results()\n$table_name assigned unsafely at line 362.

WARNINGMaintainabilityNon Prefixed Hookname Found18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_get_sections_' . $this->id".

WARNINGMaintainabilityNon Prefixed Function Found10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

WARNINGSecurityRecommended10
Category
Security
Occurrences
10
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nNon Singular String Literal Text8
Category
I18n
Occurrences
8
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: strtoupper($payment_type_parts[1])

ERRORMaintainabilityNon Enqueued Script6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

WARNINGI18nload plugin textdomain Found4
Category
I18n
Occurrences
4
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.

ERRORSecurityUnescaped DBParameter4
Category
Security
Occurrences
4
Severity
error

Sample message

Unescaped parameter $field used in $wpdb->get_var()\n$field used without escaping.

WARNINGMaintainabilityNon Prefixed Constant Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

ERRORSecurityException Not Escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.

ERRORMaintainabilityNon Enqueued Stylesheet4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

Score History

First score snapshot

v1.1.2603230

24

Latest

Findings
1,230
Errors
491
Warnings
739
Check
2.0.0

Related Plugins

98
98
AutoCEP

1k+ active installs

96
Minicart for WooCommerce

1k+ active installs

95