This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
This report summarizes scanner evidence for hediet/vscode-drawio, a TypeScript project with 9,494 GitHub stars. SynthScan examined 23,708 lines of code across 99 source files, recording 88 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 6.9 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 11 finding(s).
Are imports declared and package/API names verified? 28 finding(s).
Are wrappers, guards, and repeated structures necessary? 58 finding(s).
Which changes need focused human review? 88 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 88 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | examples/inline-editor/performance.md | 132 | <mxCell id="2" value="<b>Animal</b>
─────
+ name: string
+ age: int
─────
+ spea | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 133 | <mxCell id="3" value="<b>Dog</b>
─────
+ breed: string
─────
+ fetch(): void" style= | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 134 | <mxCell id="4" value="<b>Cat</b>
─────
+ indoor: bool
─────
+ purr(): void" style="t | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 634 | <mxCell id="2" value="<b>Animal</b>
─────
+ name: string
+ age: int
─────
+ spea | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 635 | <mxCell id="3" value="<b>Dog</b>
─────
+ breed: string
─────
+ fetch(): void" style= | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 636 | <mxCell id="4" value="<b>Cat</b>
─────
+ indoor: bool
─────
+ purr(): void" style="t | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 1134 | <mxCell id="2" value="<b>Animal</b>
─────
+ name: string
+ age: int
─────
+ spea | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 1135 | <mxCell id="3" value="<b>Dog</b>
─────
+ breed: string
─────
+ fetch(): void" style= | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 1136 | <mxCell id="4" value="<b>Cat</b>
─────
+ indoor: bool
─────
+ purr(): void" style="t | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 1636 | <mxCell id="2" value="<b>Animal</b>
─────
+ name: string
+ age: int
─────
+ spea | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 1637 | <mxCell id="3" value="<b>Dog</b>
─────
+ breed: string
─────
+ fetch(): void" style= | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 1638 | <mxCell id="4" value="<b>Cat</b>
─────
+ indoor: bool
─────
+ purr(): void" style="t | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 2138 | <mxCell id="2" value="<b>Animal</b>
─────
+ name: string
+ age: int
─────
+ spea | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 2139 | <mxCell id="3" value="<b>Dog</b>
─────
+ breed: string
─────
+ fetch(): void" style= | CODE |
| MEDIUM⚡ | examples/inline-editor/performance.md | 2140 | <mxCell id="4" value="<b>Cat</b>
─────
+ indoor: bool
─────
+ purr(): void" style="t | CODE |
| MEDIUM⚡ | src/inline-editor/webview/inlinePreview.html | 2070 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/inline-editor/webview/inlinePreview.html | 2072 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/inline-editor/webview/inlinePreview.html | 2553 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/inline-editor/webview/inlinePreview.html | 2566 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/inline-editor/webview/inlinePreview.html | 3494 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/inline-editor/webview/inlinePreview.html | 3496 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 1534 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 1536 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 1957 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 1959 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2220 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2222 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2306 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2308 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2332 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2334 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2457 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2459 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2508 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2510 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2652 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 2654 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3285 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3287 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3311 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3313 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3409 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3411 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3477 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3479 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3693 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3695 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3760 | // ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/inline-editor/webview/inlinePreview.html | 3762 | // ────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | examples/inline-editor/performance.md | 626 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | examples/inline-editor/performance.md | 626 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | examples/inline-editor/performance.md | 2130 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | examples/inline-editor/performance.md | 2130 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 247 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 247 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 424 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 424 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 800 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 800 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1003 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1003 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1174 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1174 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1374 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1374 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1558 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1558 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1751 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1751 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1928 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 1928 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 2304 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 2304 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 2507 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | examples/inline-editor/performance.md | 2507 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/features/LiveshareFeature/CurrentViewState.ts | 57 | function getSelectedRectangleResource( | CODE |
| LOW | src/features/LiveshareFeature/CurrentViewState.ts | 91 | function getCursorPositionResource( | CODE |
| LOW | src/codeblock-editor/markdownCodeBlockEditor.ts | 121 | export function createMarkdownCodeBlockEditorsApi( | CODE |
| LOW | src/inline-editor/diagramParser.ts | 269 | export function createConversionDescriptor(block: SourceBlock): ConversionDescriptor { | CODE |
| LOW | src/inline-editor/extension.ts | 89 | function resolveEditableDiagramLink( | CODE |
| LOW⚡ | src/inline-editor/webview/inlinePreview.html | 2073 | function handleInlineEditorMessage(state, msg) { | CODE |
| LOW⚡ | src/inline-editor/webview/inlinePreview.html | 2558 | function ensureGraphViewerDarkConfig() { | CODE |
| LOW⚡ | src/inline-editor/webview/inlinePreview.html | 3502 | function disableIframePointerEvents(wrapper) { | CODE |
| LOW⚡ | src/inline-editor/webview/inlinePreview.html | 3507 | function restoreIframePointerEvents(wrapper) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/inline-editor/webview/inlinePreview.html | 2561 | GraphViewer.darkBackgroundColor = 'var(--vscode-editor-background)'; | COMMENT |
| LOW | src/inline-editor/webview/previewInit.js | 81 | } | COMMENT |