EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faster Sites and Happy Visitors.

v8.7.2Shane BishopUpdated Added 1m+ installs96% rating100% support resolved
35
Score
225
Errors
729
Warnings
+0
Change

Category Scores

Security53
Repo90
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

954 findings

Maintainability

930

22 issue groups

Security

14

3 issue groups

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "avif_quality".99
Category
Maintainability
Occurrences
99
Severity
warning

Sample message

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

ERRORMaintainabilityunlink unlinkunlink() is discouraged. Use wp_delete_file() to delete a file.93
Category
Maintainability
Occurrences
93
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

ERRORMaintainabilityfile system operations is writableFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().43
Category
Maintainability
Occurrences
43
Severity
error

Sample message

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

ERRORMaintainabilityrename renamerename() is discouraged. Use WP_Filesystem::move() to rename a file.32
Category
Maintainability
Occurrences
32
Severity
error

Sample message

rename() is discouraged. Use WP_Filesystem::move() to rename a file.

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.26
Category
Maintainability
Occurrences
26
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.24
Category
Maintainability
Occurrences
24
Severity
warning

Sample message

Attempting a database schema change is discouraged.

ERRORMaintainabilityfile system operations freadFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().16
Category
Maintainability
Occurrences
16
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_tests_dir".15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_tests_dir".

Show 15 more
WARNINGMaintainabilityNon Prefixed Constant Found12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "EASYIO_REPLACE_GOOGLE_FONTS".

WARNINGSecurityUnescaped DBParameter10
Category
Security
Occurrences
10
Severity
warning

Sample message

Unescaped parameter $attachment_query used in $wpdb->get_col()\n$attachment_query assigned unsafely at line 793.

WARNINGMaintainabilityNot In Footer10
Category
Maintainability
Occurrences
10
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.

ERRORMaintainabilityfile system operations chmod9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

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

WARNINGMaintainabilityDynamic Hookname Found8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->identifier . '_cron_interval'".

ERRORMaintainabilityfile system operations fopen6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

ERRORMaintainabilityparse url parse url6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERRORMaintainabilityapplication detected6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

Application files are not permitted.

WARNINGMaintainabilityDiscouraged5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGMaintainabilityNon Prefixed Function Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_manually_load_plugin".

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 touch3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

WARNINGSecurityInput Not Sanitized2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['HOME']

WARNINGSecurityMissing Unslash2
Category
Security
Occurrences
2
Severity
warning

Sample message

$_SERVER['HOME'] not unslashed before sanitization. Use wp_unslash() or similar

Score History

First score snapshot

v8.7.2

35

Latest

Findings
954
Errors
225
Warnings
729
Check
2.0.0

Related Plugins

Disable Lazy Load

10k+ active installs

100
Lazy Load for Comments

2k+ active installs

99
Minify HTML

10k+ active installs

99
Lazy Load

10k+ active installs

98
OTF Regenerate Thumbnails

4k+ active installs

98
Unveil Lazy Load

2k+ active installs

91