DOKU plugin offers a secure payment with DOKU Checkout, letting customers choose from various payment methods and complete transactions seamlessly.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
86
8 issue groups
Security
11
5 issue groups
Repo Compliance
2
2 issue groups
ERRORMaintainabilitywp function not compatible with requires wpFunction "_x()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.2.0.52
- Category
- Maintainability
- Occurrences
- 52
- Severity
- error
Sample message
Function "_x()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.2.0.
WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_settings_api_sanitized_fields_' . $this->id".8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_settings_api_sanitized_fields_' . $this->id".
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGSecurityRequest data is not unslashed$_SERVER['HTTP_CLIENT_IP'] not unslashed before sanitization. Use wp_unslash() or similar4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
$_SERVER['HTTP_CLIENT_IP'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table used in $wpdb->get_row()\n$table assigned unsafely at line 85.2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Unescaped parameter $table used in $wpdb->get_row()\n$table assigned unsafely at line 85.
WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $table at "SELECT * FROM $table WHERE invoice_number = %s AND amount = %d ORDER BY trx_id DESC LIMIT 1"2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $table at "SELECT * FROM $table WHERE invoice_number = %s AND amount = %d ORDER BY trx_id DESC LIMIT 1"
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$paymentInstruction".2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$paymentInstruction".
Show 5 moreShow less
WARNINGSecurityInput is not validated2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['QUERY_STRING']. Check that the array index exists before using it.
WARNINGSecurityInput is not sanitized1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_SERVER['HTTP_X_FORWARDED_FOR']
WARNINGMaintainabilityMissing Version1
- Category
- Maintainability
- Occurrences
- 1
- 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.
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.7 < 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.
WARNINGRepo Compliancereadme parser warnings requires php header ignored1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
The "Requires PHP" field was ignored. This field should only contain a PHP version such as "5.2.4" or "7.0".
External Connections
Potential connections found in static code analysis.
Outbound calls
9
External assets
0
Incoming endpoints
2
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
register_rest_route
register_rest_route
Score History
First score snapshot
v1.3.27
69
Latest
- Findings
- 99
- Errors
- 53
- Warnings
- 46
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 69 | 99 | 53 | 46 | v1.3.27 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.