LWS Optimize – All-in-One Speed Booster & Cache Tools

All-in-one speed optimization: caching, WebP/AVIF, Critical CSS, lazy loading, CDN, and more. Instantly boost Core Web Vitals and site speed!

v4.0Aurélien LWSUpdated 2026-06-15Added Nov 24, 202220k+ installs92% rating
25
Score
430
Errors
764
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Top Issues by Category

maintainability808
1Non Prefixed Variable FoundWordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFoundWARNING3752file system operations fwriteWordPress.WP.AlternativeFunctions.file_system_operations_fwriteERROR793error log error logWordPress.PHP.DevelopmentFunctions.error_log_error_logWARNING674file system operations fcloseWordPress.WP.AlternativeFunctions.file_system_operations_fcloseERROR615file system operations fopenWordPress.WP.AlternativeFunctions.file_system_operations_fopenERROR466Non Prefixed Hookname FoundWordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFoundWARNING227Non Prefixed Namespace FoundWordPress.NamingConventions.PrefixAllGlobals.NonPrefixedNamespaceFoundWARNING228parse url parse urlWordPress.WP.AlternativeFunctions.parse_url_parse_urlERROR229Non Prefixed Function FoundWordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFoundWARNING1710missing direct file access protectionmissing_direct_file_access_protectionERROR1611file system operations mkdirWordPress.WP.AlternativeFunctions.file_system_operations_mkdirERROR1112Non Enqueued StylesheetWordPress.WP.EnqueuedResources.NonEnqueuedStylesheetERROR1013Direct QueryWordPress.DB.DirectDatabaseQuery.DirectQueryWARNING914No CachingWordPress.DB.DirectDatabaseQuery.NoCachingWARNING915curl curl setoptWordPress.WP.AlternativeFunctions.curl_curl_setoptERROR916file system operations touchWordPress.WP.AlternativeFunctions.file_system_operations_touchERROR917ABSPATHDetectedPluginCheck.CodeAnalysis.WriteFile.ABSPATHDetectedWARNING818file system operations chmodWordPress.WP.AlternativeFunctions.file_system_operations_chmodERROR819Missing VersionWordPress.WP.EnqueuedResourceParameters.MissingVersionWARNING8
security318

Issues Details

1,194 issues found in latest scan

WARNING375
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

ERROR96
WordPress.Security.EscapeOutput.OutputNotEscaped

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"\n<style id=\"lwsop-critical-css\" data-hash=\"$hash\">"'.

WARNING88
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_GET[&#039;page&#039;] not unslashed before sanitization. Use wp_unslash() or similar

ERROR79
WordPress.WP.AlternativeFunctions.file_system_operations_fwrite

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

WARNING74
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_ENV[&#039;lwscache&#039;]

WARNING67
WordPress.PHP.DevelopmentFunctions.error_log_error_log

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

ERROR61
WordPress.WP.AlternativeFunctions.file_system_operations_fclose

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

ERROR46
WordPress.WP.AlternativeFunctions.file_system_operations_fopen

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

WARNING29
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

Detected usage of a possibly undefined superglobal array index: $_GET[&#039;page&#039;]. Check that the array index exists before using it.

WARNING22
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;active_plugins&quot;.

WARNING22
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedNamespaceFound

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Lws\Classes&quot;.

WARNING22
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

ERROR22
WordPress.WP.AlternativeFunctions.parse_url_parse_url

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

WARNING17
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;lws_optimize_activation_callback&quot;.

ERROR16
missing_direct_file_access_protection

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERROR11
WordPress.WP.AlternativeFunctions.file_system_operations_mkdir

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

ERROR10
WordPress.WP.EnqueuedResources.NonEnqueuedStylesheet

Stylesheets must be registered/enqueued via wp_enqueue_style()

WARNING9
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING9
WordPress.DB.DirectDatabaseQuery.NoCaching

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

ERROR9
WordPress.Security.EscapeOutput.UnsafePrintingFunction

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERROR9
WordPress.WP.AlternativeFunctions.curl_curl_setopt

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERROR9
WordPress.WP.AlternativeFunctions.file_system_operations_touch

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

WARNING8
PluginCheck.CodeAnalysis.WriteFile.ABSPATHDetected

Writing files using ABSPATH may be problematic. Consider using wp_upload_dir() instead if storing user data or generated files.

ERROR8
WordPress.WP.AlternativeFunctions.file_system_operations_chmod

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

WARNING8
WordPress.WP.EnqueuedResourceParameters.MissingVersion

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.

Latest Snapshot

Findings

1,194

Errors

430

Warnings

764

Score History

First score snapshot

First scan completed Jun 20, 2026

v4.0 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v4.0

25

Latest

Findings
1,194
Errors
430
Warnings
764
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins