This plugin allows you to easily add chatbots powered by IBM watsonx Assistant to your website.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
183
8 issue groups
I18n
149
2 issue groups
Maintainability
68
15 issue groups
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: self::SLUG135
- Category
- I18n
- Occurrences
- 135
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: self::SLUG
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div>{$total_messages_text} {$showing_messages_text}</div> {$copy_logs_button}"'.92
- Category
- Security
- Occurrences
- 92
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div>{$total_messages_text} {$showing_messages_text}</div> {$copy_logs_button}"'.
ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().47
- Category
- Security
- Occurrences
- 47
- Severity
- error
Sample message
Sanitization missing for register_setting().
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().14
- Category
- I18n
- Occurrences
- 14
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $count_query10
- Category
- Security
- Occurrences
- 10
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $count_query
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORSecurityDatabase parameter is not escapedUnescaped parameter $column used in $wpdb->get_row()\n$column assigned unsafely at line 268.9
- Category
- Security
- Occurrences
- 9
- Severity
- error
Sample message
Unescaped parameter $column used in $wpdb->get_row()\n$column assigned unsafely at line 268.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['my_logo_upload_nonce']9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['my_logo_upload_nonce']
Show 15 moreShow less
WARNINGSecurityRequest data is not unslashed9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
$_POST['my_logo_upload_nonce'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInterpolated SQL is not prepared6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$column} at \t\t\tWHERE {$column} LIKE %s\n
WARNINGMaintainabilityDynamic hook name6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->identifier . '_cron_interval'".
WARNINGMaintainabilityerror log var export4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
var_export() found. Debug code should not normally be used in production.
WARNINGMaintainabilityNon-prefixed hook name3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cron_request".
WARNINGMaintainabilityNot In Footer3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Chatbot with IBM watsonx Assistant" - contains the restricted term "watson" which cannot be used at all in your plugin name.
WARNINGMaintainabilityShort PHP open tag found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Possible use of short open tags detected; found: <? if (get_option('watsonconv_history_enab...
WARNINGMaintainabilityNon-prefixed class2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Async_Request".
WARNINGMaintainabilityerror log debug backtrace2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
debug_backtrace() found. Debug code should not normally be used in production.
WARNINGMaintainabilityMissing Version2
- Category
- Maintainability
- Occurrences
- 2
- 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.
ERRORMaintainabilityGoto statement found1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
The "goto" language construct should not be used.
ERRORMaintainabilitydate date1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGSecurityInput is not validated1
- Category
- Security
- Occurrences
- 1
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['watsonconv_custom_logo']['error']. Check that the array index exists before using it.
ERRORMaintainabilityparse url parse url1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
External Connections
Potential connections found in static code analysis.
Outbound calls
291
External assets
2
Incoming endpoints
7
Notable Domains
Platform / Reference Domains
External Asset Domains
Incoming Endpoints
register_rest_route
register_rest_route
register_rest_route
register_rest_route
register_rest_route
register_rest_route
Score History
First score snapshot
v0.9.1
33
Latest
- Findings
- 407
- Errors
- 324
- Warnings
- 83
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 33 | 407 | 324 | 83 | v0.9.1 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.