Ni WooCommerce Sales Report Plugin - Generate Comprehensive Sales Reports for Your WooCommerce Store.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
227
3 issue groups
Maintainability
143
11 issue groups
Security
121
8 issue groups
Repo Compliance
1
1 issue group
ERRORI18nText Domain MismatchMismatched text domain. Expected 'ni-woocommerce-sales-report' but got "nisalesreport".225
- Category
- I18n
- Occurrences
- 225
- Severity
- error
Sample message
Mismatched text domain. Expected 'ni-woocommerce-sales-report' but got "nisalesreport".
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.55
- Category
- Maintainability
- Occurrences
- 55
- 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().55
- Category
- Maintainability
- Occurrences
- 55
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 105.43
- Category
- Security
- Occurrences
- 43
- Severity
- warning
Sample message
Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 105.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.35
- Category
- Security
- Occurrences
- 35
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityRequest data is not unslashed$_POST['nonce'] not unslashed before sanitization. Use wp_unslash() or similar19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
$_POST['nonce'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_REQUEST[$request]17
- Category
- Security
- Occurrences
- 17
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_REQUEST[$request]
WARNINGMaintainabilityMissing VersionResource 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.12
- Category
- Maintainability
- Occurrences
- 12
- 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.
WARNINGMaintainabilityNot In FooterIn 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.8
- Category
- Maintainability
- Occurrences
- 8
- 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.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_REQUEST["ajax_function"]. Check that the array index exists before using it.3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_REQUEST["ajax_function"]. Check that the array index exists before using it.
Show 13 moreShow less
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;
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Ni WooCommerce Sales Report" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your name.
WARNINGSecurityUnnecessary Prepare2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
It is not necessary to prepare a query which doesn't use variable replacement.
ERRORMaintainabilityNon Enqueued Stylesheet2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Stylesheets must be registered/enqueued via wp_enqueue_style()
ERRORMaintainabilitywp function not compatible with requires wp2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Function "wp_date()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 5.0.0.
WARNINGMaintainabilityMixed line endings1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
File has mixed line endings; this may cause incorrect results
WARNINGI18nDiscouraged text-domain loading1
- Category
- I18n
- Occurrences
- 1
- 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.
ERRORSecurityDatabase parameter is not escaped1
- Category
- Security
- Occurrences
- 1
- Severity
- error
Sample message
Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 1858.
ERRORSecuritySQL query is not prepared1
- Category
- Security
- Occurrences
- 1
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $query
WARNINGMaintainabilityerror log print r1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
ERRORMaintainabilitylibrary core files1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Library files that are already in the WordPress core are not permitted.
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.
WARNINGI18ntextdomain mismatch1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "nisalesreport", expected "ni-woocommerce-sales-report".
External Connections
Potential connections found in static code analysis.
Outbound calls
217
External assets
1
Incoming endpoints
1
Notable Domains
Platform / Reference Domains
External Asset Domains
Incoming Endpoints
No public endpoints detected.
Admin AJAX endpoints1
wp_ajax
Score History
First score snapshot
v4.1.0
35
Latest
- Findings
- 492
- Errors
- 236
- Warnings
- 256
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 35 | 492 | 236 | 256 | v4.1.0 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.