AI Slop Code Risk Monitor

johnbillion/query-monitor

SlopCodeMonitor badge for johnbillion/query-monitor Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The developer tools panel for WordPress and WooCommerce

2.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for johnbillion/query-monitor, a PHP project with 1,780 GitHub stars. SynthScan examined 49,333 lines of code across 377 source files, recording 104 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.8 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.8
Adjusted Signal
2.8
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
1.8K
Stars
PHP
Language
49.3K
Lines of Code
377
Files
104
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 10.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 97 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 1 finding(s).

Agent Over-Engineering Ratio 11.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 95 finding(s).

PR Review Velocity Impact 11.3/100 · LOW

Which changes need focused human review? 104 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 0MEDIUM 7LOW 97

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 104 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers89 hits · 94 pts
SeverityFileLineSnippetContext
LOWtests/integration/UtilsTest.php13 public function testDatabaseDriverClientVersionIsDetected( int $client, array $expected ): void {CODE
LOWtests/integration/CollectorBlockEditorTest.php49 private function simulateRenderParentBlock( array $block, array $context, callable $renderInnerBlocks ): void {CODE
LOWtests/integration/CollectorBlockEditorTest.php90 function testLeafBlocksGetDistinctTimerInstances(): void {CODE
LOWtests/integration/CollectorBlockEditorTest.php105 function testNestedBlocksGetDistinctTimerInstances(): void {CODE
LOWtests/integration/CollectorBlockEditorTest.php131 function testNestedBlocksProcessCorrectly(): void {CODE
LOWtests/integration/CollectorBlockEditorTest.php169 function testDeeplyNestedBlocksGetDistinctTimerInstances(): void {CODE
LOWtests/integration/CollectorBlockEditorTest.php195 function testTimingContextAlignmentWithSiblingGroups(): void {CODE
LOWtests/integration/CallbacksTest.php22 public function testCallbackIsCorrectlyPopulatedWithProceduralFunction(): void {CODE
LOWtests/integration/CallbacksTest.php36 public function testCallbackIsCorrectlyPopulatedWithObjectMethod(): void {CODE
LOWtests/integration/CallbacksTest.php51 public function testCallbackIsCorrectlyPopulatedWithInvokable(): void {CODE
LOWtests/integration/CallbacksTest.php66 public function testCallbackIsCorrectlyPopulatedWithStaticMethodArray(): void {CODE
LOWtests/integration/CallbacksTest.php80 public function testCallbackIsCorrectlyPopulatedWithStaticMethodString(): void {CODE
LOWtests/integration/CallbacksTest.php94 public function testCallbackIsCorrectlyPopulatedWithClosure(): void {CODE
LOWtests/integration/CallbacksTest.php110 public function testCallbackIsCorrectlyPopulatedWithInvalidProceduralFunction(): void {CODE
LOWtests/integration/CallbacksTest.php121 public function testCallbackIsCorrectlyPopulatedWithInvalidObjectMethod(): void {CODE
LOWtests/integration/CallbacksTest.php133 public function testCallbackIsCorrectlyPopulatedWithInvalidInvokable(): void {CODE
LOWtests/integration/CallbacksTest.php144 public function testCallbackIsCorrectlyPopulatedWithInvalidStaticMethodArray(): void {CODE
LOWtests/integration/CallbacksTest.php155 public function testCallbackIsCorrectlyPopulatedWithInvalidStaticMethodString(): void {CODE
LOWtests/integration/CallbacksTest.php166 public function testCallbackIsCorrectlyPopulatedWithInvalidStaticClassArray(): void {CODE
LOWtests/integration/CallbacksTest.php177 public function testCallbackIsCorrectlyPopulatedWithInvalidStaticClassString(): void {CODE
LOWtests/integration/CollectorHTTPTest.php7 public function testPreemptedResponseWithIncompleteResponseArrayIsLogged(): void {CODE
LOWtests/integration/CollectorHTTPTest.php55 public function testResponsePreemptedAfterQMsFilterIsLoggedAsNotExecuted(): void {CODE
LOWtests/integration/CapsTest.php10 public function testUsersCanAccessQueryMonitor( string $role, bool $can_access ): void {CODE
LOWtests/integration/CollectorAssetsTest.php22 public function testUrlCharacteristicsAreDetermined( string $url, string $site_url, array $expected ): void {CODE
LOWtests/integration/ArrayAccessTest.php7 public function testDataObjectSupportsArrayAccess(): void {CODE
LOWtests/integration/ArrayAccessTest.php23 public function testExtractedClassSupportsArrayAccess(): void {CODE
LOWtests/integration/ArrayAccessTest.php43 public function testStandaloneClassSupportsArrayAccess(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php7 public function testIdDerivedFromArrayKeyWhenMissing(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php20 public function testIdNotOverwrittenWhenAlreadySet(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php34 public function testPanelDerivedFromHrefWithQmPrefix(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php47 public function testPanelDerivedFromHrefWithoutQmPrefix(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php60 public function testPanelNotOverwrittenWhenAlreadySet(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php74 public function testPanelNotSetWhenHrefMissing(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php86 public function testChildPanelDerivedFromHref(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php105 public function testChildPanelNotOverwrittenWhenAlreadySet(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php125 public function testChildPanelNotSetWhenHrefMissing(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php143 public function testChildWithNumericKeyAndExistingId(): void {CODE
LOWtests/integration/HtmlDispatcherTest.php170 public function testMultipleItemsProcessedCorrectly(): void {CODE
LOWtests/integration/BacktraceTest.php34 public function testFrameFileLineIsShifted(): void {CODE
LOWtests/integration/BacktraceTest.php76 public function testIgnoreClassTrimsFromTop(): void {CODE
LOWtests/integration/BacktraceTest.php115 public function testPerInstanceIgnoreFuncTrimsFromTop(): void {CODE
LOWtests/integration/BacktraceTest.php152 public function testWpHookFilteredMidStack(): void {CODE
LOWtests/integration/BacktraceTest.php185 public function testFullHttpStackTrimming(): void {CODE
LOWtests/integration/BacktraceTest.php251 public function testGetCallerReturnsFirstFrameAfterTrimming(): void {CODE
LOWtests/integration/BacktraceTest.php274 public function testGetCallerMatchesFirstSerializedFrame(): void {CODE
LOWtests/integration/BacktraceTest.php300 public function testGetCallerWithIgnoreClassTrimming(): void {CODE
LOWtests/integration/BacktraceTest.php335 public function testGetCallerReturnsFalseForEmptyTrace(): void {CODE
LOWtests/integration/BacktraceTest.php340 public function testQmClassesAreAlwaysFiltered(): void {CODE
LOWtests/integration/BacktraceTest.php371 public function testCallSiteWithStackTrace(): void {CODE
LOWtests/integration/BacktraceTest.php418 public function testTransientStyleIgnoreFuncPreservesCallLocation(): void {CODE
LOWtests/integration/BacktraceTest.php477 public function testTransientStyleIgnoreFuncWithHookTrimming(): void {CODE
LOWtests/integration/BacktraceTest.php533 public function testDoingItWrongIgnoreFunc(): void {CODE
LOWtests/integration/BacktraceTest.php587 public function testDeprecatedFunctionIgnoreFunc(): void {CODE
LOWtests/integration/BacktraceTest.php635 public function testIncludeRequireFramesTrimmedFromBottom(): void {CODE
LOWtests/integration/BacktraceTest.php678 public function testMidStackIncludeFramesArePreserved(): void {CODE
LOWtests/integration/BacktraceTest.php708 public function testWpHookMethodsFilteredAndDoActionKeepsFileLine(): void {CODE
LOWtests/integration/BacktraceTest.php766 public function testNestedHooksHandledCorrectly(): void {CODE
LOWtests/integration/BacktraceTest.php837 public function testIgnoreHookRemovesHookDispatchFrames(): void {CODE
LOWtests/integration/BacktraceTest.php971 public function testBacktraceInAllHookDoesNotRecurseWhenLoadingFilters(): void {CODE
LOWtests/integration/BacktraceTest.php983 public function testBacktraceInAllHookDoesNotRecurseWhenDetectingComponent(): void {CODE
29 more matches not shown…
Decorative Section Separators6 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM⚡.github/workflows/nightly-tests.yml8 # ┌───────────── minute (0 - 59)COMMENT
MEDIUM⚡.github/workflows/nightly-tests.yml9 # │ ┌────────── hour (0 - 23)COMMENT
MEDIUM⚡.github/workflows/nightly-tests.yml10 # │ │ ┌─────── day of the month (1 - 31)COMMENT
MEDIUM⚡.github/workflows/verify-distribution.yml8 # ┌───────────── minute (0 - 59)COMMENT
MEDIUM⚡.github/workflows/verify-distribution.yml9 # │ ┌────────── hour (0 - 23)COMMENT
MEDIUM⚡.github/workflows/verify-distribution.yml10 # │ │ ┌─────── day of the month (1 - 31)COMMENT
Structural Annotation Overuse4 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡docs/wordpress-debugging/user-capabilities.md9## Step 1: Enable the panelCOMMENT
LOW⚡docs/wordpress-debugging/user-capabilities.md17## Step 2: AuthenticateCOMMENT
LOW⚡docs/wordpress-debugging/user-capabilities.md21## Step 3: Log in as another userCOMMENT
LOW⚡docs/wordpress-debugging/user-capabilities.md25## Step 4: View the Capability Checks panelCOMMENT
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/workflows/nightly-tests.yml1# yaml-language-server: $schema=https://json.schemastore.org/github-workflowCOMMENT
LOW.github/workflows/verify-distribution.yml1# yaml-language-server: $schema=https://json.schemastore.org/github-workflowCOMMENT
LOWassets/query-monitor.css141 --qm-font-code-size: 11px;COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMdocs/public/fair.json29 "description": "<p>Query Monitor is the developer tools panel for WordPress and WooCommerce. It enables debugging ofCODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/acceptance/utils/global-utils.ts24 GlobalUtils.runWPCLICommand( 'core install --title="Query Monitor" --admin_user="admin" --admin_password="password" --CODE