WCPOS is a simple application for taking orders at the Point of Sale (POS) using your WooCommerce store.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
150
16 issue groups
Security
114
7 issue groups
I18n
31
2 issue groups
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.47
- Category
- Security
- Occurrences
- 47
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.36
- Category
- Maintainability
- Occurrences
- 36
- 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().34
- Category
- Maintainability
- Occurrences
- 34
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityUnfinished PrepareReplacement variables found, but no valid placeholders found in the query.23
- Category
- Security
- Occurrences
- 23
- Severity
- warning
Sample message
Replacement variables found, but no valid placeholders found in the query.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'woocommerce-pos' but got 'login'.23
- Category
- I18n
- Occurrences
- 23
- Severity
- error
Sample message
Mismatched text domain. Expected 'woocommerce-pos' but got 'login'.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$error_string'.18
- Category
- Security
- Occurrences
- 18
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$error_string'.
WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.15
- Category
- Maintainability
- Occurrences
- 15
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $meta_id used in $wpdb->get_results()\n$meta_id assigned unsafely at line 312.10
- Category
- Security
- Occurrences
- 10
- Severity
- warning
Sample message
Unescaped parameter $meta_id used in $wpdb->get_results()\n$meta_id assigned unsafely at line 312.
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;
WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
Show 15 moreShow less
WARNINGMaintainabilityNon-prefixed hook name9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "login_body_class".
WARNINGMaintainabilityNon-prefixed global variable9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$classes".
ERRORI18nMissing Arg Domain8
- Category
- I18n
- Occurrences
- 8
- Severity
- error
Sample message
Missing $domain parameter in function call to _e().
WARNINGMaintainabilityslow db query tax query7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of tax_query, possible slow query.
WARNINGSecurityInput is not sanitized6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['_wpnonce']
ERRORSecurityUnsafe printing function5
- Category
- Security
- Occurrences
- 5
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityRequest data is not unslashed5
- Category
- Security
- Occurrences
- 5
- Severity
- warning
Sample message
$_POST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORMaintainabilityNon Enqueued Stylesheet5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
Stylesheets must be registered/enqueued via wp_enqueue_style()
WARNINGMaintainabilityDiscouraged PHP function3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The use of function ini_set() is discouraged
ERRORMaintainabilityunlink unlink3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WCPOS - Point of Sale (POS) plugin for WooCommerce" - contains the restricted term "plugin" which cannot be used at all in your plugin name.
ERRORMaintainabilityNot Allowed2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
WARNINGMaintainabilityDynamic hook name2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$hook_name".
WARNINGMaintainabilityerror log set error handler2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
set_error_handler() found. Debug code should not normally be used in production.
WARNINGMaintainabilityNon-prefixed function1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "extract_plugin_version".
External Connections
Not analyzed yet.
Score History
First score snapshot
v1.9.6
30
Latest
- Findings
- 305
- Errors
- 77
- Warnings
- 228
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 30 | 305 | 77 | 228 | v1.9.6 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.