AI Slop Code RIsk Monitor

jgraph/drawio-desktop

Official electron build of draw.io

5.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for jgraph/drawio-desktop, a JavaScript project with 63,455 GitHub stars. SynthScan examined 16,535 lines of code across 55 source files, recording 37 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 5.4 (Moderate 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.

5.4
Adjusted Signal
5.4
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
63.5K
Stars
JavaScript
Language
16.5K
Lines of Code
55
Files
37
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 3.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 21.5/100 · LOW

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

PR Review Velocity Impact 23.6/100 · LOW

Which changes need focused human review? 37 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 26LOW 11

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 37 distinct pattern matches across 4 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.

Decorative Section Separators26 hits · 78 pts
SeverityFileLineSnippetContext
MEDIUMsrc/test/export-files.test.js96// ─── listExportFiles ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/export-files.test.js170// ─── lexists / isSymbolicLink ────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/export-files.test.js205// ─── openExportFile ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/window-bounds.test.js14// ─── parseLastWinSize ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/window-bounds.test.js64// ─── placeWindowOnDisplays ───────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js12// ─── Helper functions ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js40// ─── Default values ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js122// ─── Boolean flags ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js200// ─── Format validation ───────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js228// ─── --layout ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js276// ─── --normalize ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js302// ─── --mermaid-image ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js337// ─── --timeout ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js368// ─── Numeric options ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js407// ─── Page index ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js431// ─── Page range ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js459// ─── Layers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js470// ─── Output / paths ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js513// ─── Theme (all formats) ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js532// ─── SVG theme ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js555// ─── SVG links target ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js568// ─── Export size mode ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js601// ─── HTML options ────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js675// ─── Combined short flags (commander.js compat) ──────────────────────────────COMMENT
MEDIUMsrc/test/cli-args.test.js768// ─── Combined options ────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/main/progress-bar.js119 // ── Public API ────────────────────────────────────────────────────────────COMMENT
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOW.github/workflows/electron-builder-win.yml161 # release-appx publishes nowhere (--publish never): the appx goes to theCOMMENT
LOW.github/workflows/electron-builder-win.yml201COMMENT
LOW.github/workflows/flathub-release.yml1name: Flathub ReleaseCOMMENT
LOW.github/workflows/electron-builder.yml121 npm run release-linuxCOMMENT
LOWsrc/main/update-channel.js1// electron-builder names the Windows update manifest ${channel}.yml with noCOMMENT
LOWsrc/main/config-paths.js1// Local files named in the user's configuration (Extras > Configuration):COMMENT
LOWsrc/main/electron.js3741 }COMMENT
LOWsrc/main/print-options.js1// Page formats are in 1/100 inch (mxPrintPreview.pixelsPerInch), so one unit is 254 micronsCOMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/main/electron.js48function detectInitialAdaptiveColorsDefault()CODE
LOWsrc/main/electron.js424async function migrateLegacyLibrariesOnce(webContents)CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/prepare-release.yml89 # Check if ref existsCOMMENT