A lightweight, fast and powerful virus scanner for WordPress.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
459
15 issue groups
Security
445
7 issue groups
I18n
220
3 issue groups
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$absfiles".328
- Category
- Maintainability
- Occurrences
- 328
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$absfiles".
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.183
- Category
- I18n
- Occurrences
- 183
- 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.
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.150
- Category
- Security
- Occurrences
- 150
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'$nscan_key'"'.111
- Category
- Security
- Occurrences
- 111
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"'$nscan_key'"'.
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.74
- Category
- Security
- Occurrences
- 74
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['file']40
- Category
- Security
- Occurrences
- 40
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['file']
WARNINGSecurityRequest data is not unslashed$_GET['file'] not unslashed before sanitization. Use wp_unslash() or similar40
- Category
- Security
- Occurrences
- 40
- Severity
- warning
Sample message
$_GET['file'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORMaintainabilityunlink unlinkunlink() is discouraged. Use wp_delete_file() to delete a file.25
- Category
- Maintainability
- Occurrences
- 25
- Severity
- error
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.24
- Category
- Maintainability
- Occurrences
- 24
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_nscan_build_files_list".19
- Category
- Maintainability
- Occurrences
- 19
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_nscan_build_files_list".
Show 15 moreShow less
ERRORI18nNon Singular String Literal Text19
- Category
- I18n
- Occurrences
- 19
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: "This report was created for WordPress %s, but your current version is %s. ".\n "If you upgraded WordPress lately, don't forget to run a new scan."
ERRORI18nUnordered Placeholders Text18
- Category
- I18n
- Occurrences
- 18
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Fatal error: Some NinjaScanner files have been modified (%s) or are missing (%s). Please reinstall NinjaScanner or disable NinjaScanner files integrity checker. Aborting.'.
ERRORMaintainabilityGoto statement found17
- Category
- Maintainability
- Occurrences
- 17
- Severity
- error
Sample message
The "goto" language construct should not be used.
WARNINGSecurityNonce verification recommended16
- Category
- Security
- Occurrences
- 16
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput is not validated14
- Category
- Security
- Occurrences
- 14
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['file']. Check that the array index exists before using it.
ERRORMaintainabilityPlugin Directory Write8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
Plugin folders are deleted when upgraded. Do not save data to the plugin folder using file_put_contents(). Detected usage of constant WP_CONTENT_DIR. Use wp_upload_dir() to get the uploads directory path or save to the database instead.
ERRORMaintainabilityfile system operations touch7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: touch().
ERRORMaintainabilityrename rename6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
rename() is discouraged. Use WP_Filesystem::move() to rename a file.
WARNINGMaintainabilityNon-prefixed hook name5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cron_request".
ERRORMaintainabilityfile system operations mkdir5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
WARNINGMaintainabilityDiscouraged PHP function3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The use of function ini_set() is discouraged
WARNINGMaintainabilityDirect Query3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching3
- 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().
ERRORMaintainabilityfile system operations fclose3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
ERRORMaintainabilityfile system operations fopen3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
External Connections
Not analyzed yet.
Score History
First score snapshot
v3.3.1
22
Latest
- Findings
- 1,147
- Errors
- 596
- Warnings
- 551
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 22 | 1,147 | 596 | 551 | v3.3.1 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.