WP-Cleanup

This Wordpress plugin will cleanup your Wordpress database by remove all unused data from your database.

v1.1.0JortKUpdated Added 400 installs80% rating
36
Score
79
Errors
29
Warnings
+0
Change

Category Scores

Security0
Repo80
Performance100
Maintainability70

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

108 findings

Security

55

5 issue groups

Maintainability

48

8 issue groups

Repo Compliance

4

4 issue groups

I18n

1

1 issue group

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

Sample message

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

ERRORMaintainabilitymysql mysql queryAccessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: mysql_query.14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

Accessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: mysql_query.

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $query used in $wpdb->get_var()\n$query assigned unsafely at line 120.10
Category
Security
Occurrences
10
Severity
error

Sample message

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

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

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $query10
Category
Security
Occurrences
10
Severity
error

Sample message

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

ERRORMaintainabilitymysql mysql fetch assocAccessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: mysql_fetch_assoc.8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

Accessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: mysql_fetch_assoc.

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP-Cleanup" - contains the restricted term "wp" which cannot be used at all in your plugin name.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP-Cleanup" - contains the restricted term "wp" which cannot be used at all in your plugin name.

Show 8 more
ERRORSecurityUnsafe printing function1
Category
Security
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityDeprecated function: screen_icon1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

screen_icon() has been deprecated since WordPress version 3.8.0.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilityinvalid plugin name1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Plugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 3.0 < 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.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

3

External assets

1

Incoming endpoints

0

Notable Domains

jortk.nl2 · outbound

External Asset Domains

chart.apis.google.com2 · asset + outbound

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.1.0

36

Latest

Findings
108
Errors
79
Warnings
29
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

DietPress

2k+ active installs

100
wp_head() cleaner

2k+ active installs

100
Change Table Prefix

1k+ active installs

99
Disable Global Style

500 active installs

99
99