Plugins Garbage Collector (Database Cleanup)

Find unused database tables from deactivated or deleted plugins. You can delete unused database tables to reduce database volume and enhance site perf …

v0.14Vladimir GaragulyaUpdated 2022-04-03Added Apr 30, 201010k+ installs88% rating
36
Score
32
Errors
51
Warnings
+0
Change

Category Scores

Security0
Repo74
Performance100
Maintainability75

Top Issues by Category

security46
maintainability31
repo_compliance5

Issues Details

83 issues found in latest scan

WARNING11
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

WARNING8
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING8
WordPress.DB.DirectDatabaseQuery.NoCaching

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

ERROR8
WordPress.DB.PreparedSQL.NotPrepared

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

ERROR7
PluginCheck.Security.DirectDB.UnescapedDBParameter

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

WARNING6
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_POST['plugin']

ERROR4
WordPress.Security.EscapeOutput.OutputNotEscaped

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

WARNING4
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

WARNING4
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_POST['current_file'] not unslashed before sanitization. Use wp_unslash() or similar

ERROR3
missing_direct_file_access_protection

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

WARNING3
trademarked_term

The plugin name includes a restricted term. Your chosen plugin name - "Plugins Garbage Collector (Database Cleanup) Old!" - contains the restricted term "plugin" which cannot be used at all in your plugin name.

ERROR2
WordPress.DateTime.RestrictedFunctions.date_date

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERROR2
WordPress.WP.EnqueuedResourceParameters.NoExplicitVersion

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_style; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERROR1
PluginCheck.CodeAnalysis.SettingSanitization.register_settingMissing

Sanitization missing for register_setting().

WARNING1
Squiz.PHP.DiscouragedFunctions.Discouraged

The use of function ini_set() is discouraged

WARNING1
WordPress.Security.PluginMenuSlug.Using__FILE__

Using __FILE__ for menu slugs risks exposing filesystem structure.

ERROR1
WordPress.WP.AlternativeFunctions.file_system_operations_fclose

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

ERROR1
WordPress.WP.AlternativeFunctions.file_system_operations_fopen

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

WARNING1
WordPress.WP.EnqueuedResourceParameters.NotInFooter

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.

WARNING1
mismatched_plugin_name

Plugin name "Plugins Garbage Collector (Database Cleanup)" is different from the name declared in plugin header "Plugins Garbage Collector (Database Cleanup) Old!".

ERROR1
no_license

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

ERROR1
outdated_tested_upto_header

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

WARNING1
plugin_header_invalid_domain_path

The "Domain Path" header in the plugin file must start with forward slash.

ERROR1
plugin_header_no_license

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

WARNING1
readme_parser_warnings_too_many_tags

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

Latest Snapshot

Findings

83

Errors

32

Warnings

51

Score History

First score snapshot

First scan completed Jun 20, 2026

v0.14 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v0.14

36

Latest

Findings
83
Errors
32
Warnings
51
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins