The developer tools panel for WordPress and WooCommerce
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 97 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 95 finding(s).
Which changes need focused human review? 104 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integration/UtilsTest.php | 13 | public function testDatabaseDriverClientVersionIsDetected( int $client, array $expected ): void { | CODE |
| LOW | tests/integration/CollectorBlockEditorTest.php | 49 | private function simulateRenderParentBlock( array $block, array $context, callable $renderInnerBlocks ): void { | CODE |
| LOW | tests/integration/CollectorBlockEditorTest.php | 90 | function testLeafBlocksGetDistinctTimerInstances(): void { | CODE |
| LOW | tests/integration/CollectorBlockEditorTest.php | 105 | function testNestedBlocksGetDistinctTimerInstances(): void { | CODE |
| LOW | tests/integration/CollectorBlockEditorTest.php | 131 | function testNestedBlocksProcessCorrectly(): void { | CODE |
| LOW | tests/integration/CollectorBlockEditorTest.php | 169 | function testDeeplyNestedBlocksGetDistinctTimerInstances(): void { | CODE |
| LOW | tests/integration/CollectorBlockEditorTest.php | 195 | function testTimingContextAlignmentWithSiblingGroups(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 22 | public function testCallbackIsCorrectlyPopulatedWithProceduralFunction(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 36 | public function testCallbackIsCorrectlyPopulatedWithObjectMethod(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 51 | public function testCallbackIsCorrectlyPopulatedWithInvokable(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 66 | public function testCallbackIsCorrectlyPopulatedWithStaticMethodArray(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 80 | public function testCallbackIsCorrectlyPopulatedWithStaticMethodString(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 94 | public function testCallbackIsCorrectlyPopulatedWithClosure(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 110 | public function testCallbackIsCorrectlyPopulatedWithInvalidProceduralFunction(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 121 | public function testCallbackIsCorrectlyPopulatedWithInvalidObjectMethod(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 133 | public function testCallbackIsCorrectlyPopulatedWithInvalidInvokable(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 144 | public function testCallbackIsCorrectlyPopulatedWithInvalidStaticMethodArray(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 155 | public function testCallbackIsCorrectlyPopulatedWithInvalidStaticMethodString(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 166 | public function testCallbackIsCorrectlyPopulatedWithInvalidStaticClassArray(): void { | CODE |
| LOW | tests/integration/CallbacksTest.php | 177 | public function testCallbackIsCorrectlyPopulatedWithInvalidStaticClassString(): void { | CODE |
| LOW | tests/integration/CollectorHTTPTest.php | 7 | public function testPreemptedResponseWithIncompleteResponseArrayIsLogged(): void { | CODE |
| LOW | tests/integration/CollectorHTTPTest.php | 55 | public function testResponsePreemptedAfterQMsFilterIsLoggedAsNotExecuted(): void { | CODE |
| LOW | tests/integration/CapsTest.php | 10 | public function testUsersCanAccessQueryMonitor( string $role, bool $can_access ): void { | CODE |
| LOW | tests/integration/CollectorAssetsTest.php | 22 | public function testUrlCharacteristicsAreDetermined( string $url, string $site_url, array $expected ): void { | CODE |
| LOW | tests/integration/ArrayAccessTest.php | 7 | public function testDataObjectSupportsArrayAccess(): void { | CODE |
| LOW | tests/integration/ArrayAccessTest.php | 23 | public function testExtractedClassSupportsArrayAccess(): void { | CODE |
| LOW | tests/integration/ArrayAccessTest.php | 43 | public function testStandaloneClassSupportsArrayAccess(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 7 | public function testIdDerivedFromArrayKeyWhenMissing(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 20 | public function testIdNotOverwrittenWhenAlreadySet(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 34 | public function testPanelDerivedFromHrefWithQmPrefix(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 47 | public function testPanelDerivedFromHrefWithoutQmPrefix(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 60 | public function testPanelNotOverwrittenWhenAlreadySet(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 74 | public function testPanelNotSetWhenHrefMissing(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 86 | public function testChildPanelDerivedFromHref(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 105 | public function testChildPanelNotOverwrittenWhenAlreadySet(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 125 | public function testChildPanelNotSetWhenHrefMissing(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 143 | public function testChildWithNumericKeyAndExistingId(): void { | CODE |
| LOW | tests/integration/HtmlDispatcherTest.php | 170 | public function testMultipleItemsProcessedCorrectly(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 34 | public function testFrameFileLineIsShifted(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 76 | public function testIgnoreClassTrimsFromTop(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 115 | public function testPerInstanceIgnoreFuncTrimsFromTop(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 152 | public function testWpHookFilteredMidStack(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 185 | public function testFullHttpStackTrimming(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 251 | public function testGetCallerReturnsFirstFrameAfterTrimming(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 274 | public function testGetCallerMatchesFirstSerializedFrame(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 300 | public function testGetCallerWithIgnoreClassTrimming(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 335 | public function testGetCallerReturnsFalseForEmptyTrace(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 340 | public function testQmClassesAreAlwaysFiltered(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 371 | public function testCallSiteWithStackTrace(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 418 | public function testTransientStyleIgnoreFuncPreservesCallLocation(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 477 | public function testTransientStyleIgnoreFuncWithHookTrimming(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 533 | public function testDoingItWrongIgnoreFunc(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 587 | public function testDeprecatedFunctionIgnoreFunc(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 635 | public function testIncludeRequireFramesTrimmedFromBottom(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 678 | public function testMidStackIncludeFramesArePreserved(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 708 | public function testWpHookMethodsFilteredAndDoActionKeepsFileLine(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 766 | public function testNestedHooksHandledCorrectly(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 837 | public function testIgnoreHookRemovesHookDispatchFrames(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 971 | public function testBacktraceInAllHookDoesNotRecurseWhenLoadingFilters(): void { | CODE |
| LOW | tests/integration/BacktraceTest.php | 983 | public function testBacktraceInAllHookDoesNotRecurseWhenDetectingComponent(): void { | CODE |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | .github/workflows/nightly-tests.yml | 8 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | .github/workflows/nightly-tests.yml | 9 | # │ ┌────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | .github/workflows/nightly-tests.yml | 10 | # │ │ ┌─────── day of the month (1 - 31) | COMMENT |
| MEDIUM⚡ | .github/workflows/verify-distribution.yml | 8 | # ┌───────────── minute (0 - 59) | COMMENT |
| MEDIUM⚡ | .github/workflows/verify-distribution.yml | 9 | # │ ┌────────── hour (0 - 23) | COMMENT |
| MEDIUM⚡ | .github/workflows/verify-distribution.yml | 10 | # │ │ ┌─────── day of the month (1 - 31) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | docs/wordpress-debugging/user-capabilities.md | 9 | ## Step 1: Enable the panel | COMMENT |
| LOW⚡ | docs/wordpress-debugging/user-capabilities.md | 17 | ## Step 2: Authenticate | COMMENT |
| LOW⚡ | docs/wordpress-debugging/user-capabilities.md | 21 | ## Step 3: Log in as another user | COMMENT |
| LOW⚡ | docs/wordpress-debugging/user-capabilities.md | 25 | ## Step 4: View the Capability Checks panel | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/nightly-tests.yml | 1 | # yaml-language-server: $schema=https://json.schemastore.org/github-workflow | COMMENT |
| LOW | .github/workflows/verify-distribution.yml | 1 | # yaml-language-server: $schema=https://json.schemastore.org/github-workflow | COMMENT |
| LOW | assets/query-monitor.css | 141 | --qm-font-code-size: 11px; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/public/fair.json | 29 | "description": "<p>Query Monitor is the developer tools panel for WordPress and WooCommerce. It enables debugging of | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/acceptance/utils/global-utils.ts | 24 | GlobalUtils.runWPCLICommand( 'core install --title="Query Monitor" --admin_user="admin" --admin_password="password" -- | CODE |