Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer

Optimize and tweak WordPress by disable unused features. Improve performance, SEO and security using Clearfy — super easy, fast and zero code.

v2.4.2CreativemotionUpdated Added 50k+ installs94% rating
22
Score
2,858
Errors
1,270
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance94
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

4,128 findings

Security

1,772

9 issue groups

I18n

1,282

3 issue groups

Maintainability

799

13 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'clearfy' but got "wbcr_factory_480".1,126
Category
I18n
Occurrences
1,126
Severity
error

Sample message

Mismatched text domain. Expected 'clearfy' but got "wbcr_factory_480".

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$action['class']'.630
Category
Security
Occurrences
630
Severity
error

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.477
Category
Security
Occurrences
477
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_COOKIE['wam_assigned_roles'] not unslashed before sanitization. Use wp_unslash() or similar146
Category
Security
Occurrences
146
Severity
warning

Sample message

$_COOKIE['wam_assigned_roles'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['wam_assigned_roles']143
Category
Security
Occurrences
143
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['wam_assigned_roles']

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo $actual_slug ..." but found "<?= $actual_slug ..."134
Category
Maintainability
Occurrences
134
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo $actual_slug ..." but found "<?= $actual_slug ..."

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;ASGAROS_404&quot;.113
Category
Maintainability
Occurrences
113
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;ASGAROS_404&quot;.

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.112
Category
I18n
Occurrences
112
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.

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.104
Category
Security
Occurrences
104
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.99
Category
Maintainability
Occurrences
99
Severity
warning

Sample message

Use of a direct database call is discouraged.

Show 15 more
ERRORSecurityException output is not escaped96
Category
Security
Occurrences
96
Severity
error

Sample message

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

WARNINGMaintainabilityNo Caching95
Category
Maintainability
Occurrences
95
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed class89
Category
Maintainability
Occurrences
89
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed global variable89
Category
Maintainability
Occurrences
89
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$active_plugin&quot;.

WARNINGSecurityInput is not validated82
Category
Security
Occurrences
82
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification73
Category
Security
Occurrences
73
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed hook name58
Category
Maintainability
Occurrences
58
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain44
Category
I18n
Occurrences
44
Severity
error

Sample message

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

ERRORMaintainabilityunlink unlink23
Category
Maintainability
Occurrences
23
Severity
error

Sample message

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

WARNINGMaintainabilityNot In Footer23
Category
Maintainability
Occurrences
23
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.

ERRORSecuritySQL query is not prepared21
Category
Security
Occurrences
21
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $delete_all_sql

ERRORMaintainabilityMissing direct file access protection21
Category
Maintainability
Occurrences
21
Severity
error

Sample message

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

WARNINGMaintainabilityNo PHP code found20
Category
Maintainability
Occurrences
20
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

WARNINGMaintainabilityNon-prefixed function19
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: &quot;_sanitize_text_fields&quot;.

WARNINGMaintainabilityDynamic hook name16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

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

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.4.2

22

Latest

Findings
4,128
Errors
2,858
Warnings
1,270
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins