Query Monitor

Query Monitor is the developer tools panel for WordPress and WooCommerce.

v4.0.7John BlackbournUpdated Added 200k+ installs98% rating60% support resolved
31
Score
44
Errors
273
Warnings
+1
Change

Category Scores

Security0
Repo97
Performance100
Maintainability32

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

317 findings

Maintainability

252

18 issue groups

Security

60

6 issue groups

I18n

1

1 issue group

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "Debug_Bar".147
Category
Maintainability
Occurrences
147
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Debug_Bar".

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "debug_bar_enqueue_scripts".48
Category
Maintainability
Occurrences
48
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_ENV['APACHE_RUN_GROUP']20
Category
Security
Occurrences
20
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_ENV['APACHE_RUN_GROUP']

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

Sample message

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

ERRORMaintainabilityparse url parse urlparse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_METHOD']. Check that the array index exists before using it.11
Category
Security
Occurrences
11
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_SERVER['REMOTE_ADDR'] not unslashed before sanitization. Use wp_unslash() or similar11
Category
Security
Occurrences
11
Severity
warning

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<tr{$attr}>"'.10
Category
Security
Occurrences
10
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityprevent path disclosure error reportingerror_reporting() can lead to full path disclosure.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

error_reporting() can lead to full path disclosure.

Show 15 more
WARNINGSecurityMissing nonce verification4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed global variable3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityDiscouraged PHP function2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

The use of function ini_set() is discouraged

WARNINGMaintainabilityerror log print r2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityNon Enqueued Stylesheet2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_get_development_mode()" requires WordPress 6.3.0, but your plugin minimum supported version is WordPress 6.2.0.

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

ERRORMaintainabilitymysql mysqli errno1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilitymysql mysqli get client version1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityDynamic hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed function1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed trait1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log debug backtrace1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log set error handler1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

External Connections

Not analyzed yet.

Score History

2 score snapshots

+1
1007550250Jun 19, 2026, 11:13 PM UTC Score 30/100 Plugin v4.0.6 Plugin Check 2.0.0 45 errors, 272 warningsJun 20, 2026, 08:34 PM UTC Score 31/100 Plugin v4.0.7 Plugin Check 2.0.0 44 errors, 273 warningsJun 19, 2026Jun 20, 2026

v4.0.7

31

Latest

Findings
317
Errors
44
Warnings
273
Check
2.0.0

v4.0.6

30

Score

Findings
317
Errors
45
Warnings
272
Check
2.0.0

Related Plugins

DietPress

2k+ active installs

100
Disable Emojis (GDPR friendly)

60k+ active installs

100
Embed Optimizer

50k+ active installs

100
Image Placeholders

60k+ active installs

100
100
Modern Image Formats

100k+ active installs

100