Set up complex stock configurations with ease. Shared stock, variable quantities, the possibilities are endless.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
325
3 issue groups
Security
236
11 issue groups
Maintainability
223
11 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'attribute-stock-for-woocommerce' but got 'woocommerce'.256
- Category
- I18n
- Occurrences
- 256
- Severity
- error
Sample message
Mismatched text domain. Expected 'attribute-stock-for-woocommerce' but got 'woocommerce'.
ERRORMaintainabilityEcho FoundShort PHP opening tag used with echo; expected "<?php echo ! ..." but found "<?= ! ..."113
- Category
- Maintainability
- Occurrences
- 113
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo ! ..." but found "<?= ! ..."
WARNINGSecurityRecommendedProcessing form data without nonce verification.68
- Category
- Security
- Occurrences
- 68
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active".54
- Category
- Maintainability
- Occurrences
- 54
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active".
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$class'.51
- Category
- Security
- Occurrences
- 51
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$class'.
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.35
- Category
- I18n
- Occurrences
- 35
- 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.
WARNINGI18nText Domain MismatchMismatched text domain. Expected 'attribute-stock-for-woocommerce' but got 'default'.34
- Category
- I18n
- Occurrences
- 34
- Severity
- warning
Sample message
Mismatched text domain. Expected 'attribute-stock-for-woocommerce' but got 'default'.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES['import_file']['tmp_name']28
- Category
- Security
- Occurrences
- 28
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_FILES['import_file']['tmp_name']
WARNINGSecurityMissing Unslash$_GET[$type] not unslashed before sanitization. Use wp_unslash() or similar28
- Category
- Security
- Occurrences
- 28
- Severity
- warning
Sample message
$_GET[$type] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityMissingProcessing form data without nonce verification.23
- Category
- Security
- Occurrences
- 23
- Severity
- warning
Sample message
Processing form data without nonce verification.
Show 15 moreShow less
WARNINGMaintainabilityDirect Query16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityNot Prepared12
- Category
- Security
- Occurrences
- 12
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $match_query
WARNINGMaintainabilityNon Prefixed Hookname Found10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "clean_post_cache".
WARNINGSecurityInput Not Validated8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['import_file']['error']. Check that the array index exists before using it.
ERRORSecurityUnescaped DBParameter7
- Category
- Security
- Occurrences
- 7
- Severity
- error
Sample message
Unescaped parameter $match_query['query'] used in $wpdb->get_results()\n$match_query['query'] used without escaping.
WARNINGSecurityInterpolated Not Prepared7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $table at "SELECT EXISTS (SELECT * FROM $table LIMIT 1) AS result"
WARNINGMaintainabilityDynamic Hookname Found3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "static::hook_name('duplicated_extra')".
ERRORMaintainabilitymissing direct file access protection3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGSecurityUnescaped DBParameter2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Unescaped parameter $pfx used in $wpdb->get_col()\n$pfx assigned unsafely at line 244.
WARNINGMaintainabilitySchema Change2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Attempting a database schema change is discouraged.
WARNINGMaintainabilityslow db query meta key2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityslow db query meta value2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of meta_value, possible slow query.
WARNINGMaintainabilityerror log debug backtrace2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
debug_backtrace() found. Debug code should not normally be used in production.
ERRORSecurityException Not Escaped2
- Category
- Security
- Occurrences
- 2
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'MEWZ_WCAS_NAME'.
Score History
First score snapshot
v2.2.10
29
Latest
- Findings
- 794
- Errors
- 481
- Warnings
- 313
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 29 | 794 | 481 | 313 | v2.2.10 | 2.0.0 |