CompressX — AVIF & WebP Converter, Media Replacement

AVIF & WebP converter with built-in media replacement for local image optimization.

v0.9.38CompressXUpdated Added 40k+ installs100% rating0% support resolved
35
Score
26
Errors
423
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance98
Maintainability53

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

449 findings

Security

276

10 issue groups

Maintainability

162

12 issue groups

I18n

10

2 issue groups

Performance

1

1 issue group

WARNINGSecurityMissingProcessing form data without nonce verification.112
Category
Security
Occurrences
112
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.63
Category
Maintainability
Occurrences
63
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().59
Category
Maintainability
Occurrences
59
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGSecurityMissing Unslash$_GET['log'] not unslashed before sanitization. Use wp_unslash() or similar59
Category
Security
Occurrences
59
Severity
warning

Sample message

$_GET['log'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['log']. Check that the array index exists before using it.33
Category
Security
Occurrences
33
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['log']. Check that the array index exists before using it.

WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb->prepare(); found interpolated variable $placeholders at WHERE status IN ($placeholders)\r\n19
Category
Security
Occurrences
19
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $placeholders at WHERE status IN ($placeholders)\r\n

WARNINGMaintainabilityslow db query meta keyDetected usage of meta_key, possible slow query.18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGSecurityRecommendedProcessing form data without nonce verification.18
Category
Security
Occurrences
18
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES['image']16
Category
Security
Occurrences
16
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['image']

WARNINGSecurityUnescaped DBParameterUnescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 271.10
Category
Security
Occurrences
10
Severity
warning

Sample message

Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 271.

Show 15 more
ERRORI18nMissing Arg Domain8
Category
I18n
Occurrences
8
Severity
error

Sample message

Missing $domain parameter in function call to _n().

ERRORMaintainabilityPlugin Directory Write6
Category
Maintainability
Occurrences
6
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.

WARNINGMaintainabilityDiscouraged6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGSecurityReplacements Wrong Number5
Category
Security
Occurrences
5
Severity
warning

Sample message

Incorrect number of replacements passed to $wpdb->prepare(). Found 1 replacement parameters, expected 3.

ERRORSecurityOutput Not Escaped3
Category
Security
Occurrences
3
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$html'.

ERRORMaintainabilityfile system operations fopen2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

ERRORMaintainabilityfile system operations fwrite2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

ERRORI18nMissing Translators Comment2
Category
I18n
Occurrences
2
Severity
error

Sample message

A function call to _n() 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.

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_filesize()" requires WordPress 6.0.0, but your plugin minimum supported version is WordPress 5.8.0.

WARNINGMaintainabilitySchema Change1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityUnfinished Prepare1
Category
Security
Occurrences
1
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

WARNINGMaintainabilityNon Prefixed Hookname Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cx_output_custom_bulk".

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().

WARNINGPerformancePost Not In exclude1
Category
Performance
Occurrences
1
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "CompressX — AVIF & WebP Converter, Media Replacement" is different from the name declared in plugin header "CompressX - AVIF & WebP Converter".

Score History

First score snapshot

v0.9.38

35

Latest

Findings
449
Errors
26
Warnings
423
Check
2.0.0

Related Plugins

DietPress

2k+ active installs

100
Modern Image Formats

100k+ active installs

100
Optimization Detective

60k+ active installs

100
Featherweight

10k+ active installs

99
Image Prioritizer

50k+ active installs

99
Machete

7k+ active installs

99