Autogenerate avif image on image upload and serve autogenerated Avif images instead of jpeg/png to browsers that supports Avif.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
164
4 issue groups
Maintainability
21
13 issue groups
I18n
4
2 issue groups
Supply Chain
2
1 issue group
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['apiKey']. Check that the array index exists before using it.55
- Category
- Security
- Occurrences
- 55
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['apiKey']. Check that the array index exists before using it.
WARNINGSecurityRequest data is not unslashed$_POST['apiKey'] not unslashed before sanitization. Use wp_unslash() or similar54
- Category
- Security
- Occurrences
- 54
- Severity
- warning
Sample message
$_POST['apiKey'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['avife_nonce']44
- Category
- Security
- Occurrences
- 44
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['avife_nonce']
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$assetPath'.11
- Category
- Security
- Occurrences
- 11
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$assetPath'.
WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "IS_GD_AVIF".4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "IS_GD_AVIF".
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$bg_converter".4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$bg_converter".
WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
ERRORMaintainabilityparse url parse urlparse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: AVIFE_TEXT_DOMAIN2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: AVIFE_TEXT_DOMAIN
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: AVIFE_ADMIN_MENU_NAME2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: AVIFE_ADMIN_MENU_NAME
Show 12 moreShow less
ERRORSupply ChainHidden files included2
- Category
- Supply Chain
- Occurrences
- 2
- Severity
- error
Sample message
Hidden files are not permitted.
ERRORMaintainabilityNot Allowed1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
WARNINGMaintainabilityDiscouraged PHP function1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
The use of function set_time_limit() is discouraged
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: "initiate_plugin".
WARNINGMaintainabilityerror log error log1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
ERRORMaintainabilityfile system operations fclose1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
ERRORMaintainabilityfile system operations fopen1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
ERRORMaintainabilityunlink unlink1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Avif Express" is different from the name declared in plugin header "AVIF Express".
ERRORMaintainabilityMissing direct file access protection1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.8 < 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.
ERRORRepo Complianceplugin header no license1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
External Connections
Potential connections found in static code analysis.
Outbound calls
132
External assets
0
Incoming endpoints
42
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
wp_ajax
Admin AJAX endpoints41
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
29 more hidden
Score History
First score snapshot
v2025.08.29
35
Latest
- Findings
- 193
- Errors
- 26
- Warnings
- 167
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 35 | 193 | 26 | 167 | v2025.08.29 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.