Virtual whiteboard for sketching hand-drawn like diagrams
This report summarizes scanner evidence for excalidraw/excalidraw, a TypeScript project with 134,893 GitHub stars. SynthScan examined 289,593 lines of code across 930 source files, recording 360 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.4 (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? 68 finding(s).
Are imports declared and package/API names verified? 288 finding(s).
Are wrappers, guards, and repeated structures necessary? 29 finding(s).
Which changes need focused human review? 360 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 360 distinct pattern matches across 9 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 | packages/element/tests/resize.test.tsx | 1289 | const topArrowLabel = await UI.editText(topArrow.get(), "lorem ipsum"); | CODE |
| LOW | packages/element/tests/resize.test.tsx | 1360 | await UI.editText(topText, "lorem ipsum"); | CODE |
| LOW | packages/excalidraw/locales/az-AZ.json | 221 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/az-AZ.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/az-AZ.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/az-AZ.json | 709 | "placeholder": "" | CODE |
| LOW | packages/excalidraw/locales/az-AZ.json | 738 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/kk-KZ.json | 221 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/kk-KZ.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/kk-KZ.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/kk-KZ.json | 709 | "placeholder": "" | CODE |
| LOW | packages/excalidraw/locales/kk-KZ.json | 738 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/my-MM.json | 221 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/my-MM.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/my-MM.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/my-MM.json | 709 | "placeholder": "" | CODE |
| LOW | packages/excalidraw/locales/my-MM.json | 738 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/kaa.json | 221 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/kaa.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/kaa.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/kaa.json | 709 | "placeholder": "" | CODE |
| LOW | packages/excalidraw/locales/kaa.json | 738 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/lv-LV.json | 221 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/lv-LV.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/lv-LV.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/lv-LV.json | 709 | "placeholder": "" | CODE |
| LOW | packages/excalidraw/locales/lv-LV.json | 738 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/el-GR.json | 221 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/el-GR.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/el-GR.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/el-GR.json | 709 | "placeholder": "Γρήγορη αναζήτηση" | CODE |
| LOW | packages/excalidraw/locales/el-GR.json | 738 | "placeholder": "Αναζητήστε μενού, εντολές και ανακαλύψτε κρυμμένα διαμάντια", | CODE |
| LOW | packages/excalidraw/locales/it-IT.json | 221 | "placeholder": "Trova testo sulla tela...", | CODE |
| LOW | packages/excalidraw/locales/it-IT.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/it-IT.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/it-IT.json | 709 | "placeholder": "Ricerca rapida" | CODE |
| LOW | packages/excalidraw/locales/it-IT.json | 738 | "placeholder": "Cerca menu, comandi e scopri gemme nascoste", | CODE |
| LOW | packages/excalidraw/locales/th-TH.json | 221 | "placeholder": "ค้นหาข้อความในผืนผ้าใบ", | CODE |
| LOW | packages/excalidraw/locales/th-TH.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/th-TH.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/th-TH.json | 709 | "placeholder": "ค้นหาด่วน" | CODE |
| LOW | packages/excalidraw/locales/th-TH.json | 738 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/ko-KR.json | 221 | "placeholder": "캔버스에서 텍스트 찾기...", | CODE |
| LOW | packages/excalidraw/locales/ko-KR.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/ko-KR.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/ko-KR.json | 709 | "placeholder": "" | CODE |
| LOW | packages/excalidraw/locales/ko-KR.json | 738 | "placeholder": "메뉴와 명령을 검색하고 숨겨진 기능을 찾아보세요", | CODE |
| LOW | packages/excalidraw/locales/nn-NO.json | 221 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/nn-NO.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/nn-NO.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/nn-NO.json | 709 | "placeholder": "" | CODE |
| LOW | packages/excalidraw/locales/nn-NO.json | 738 | "placeholder": "", | CODE |
| LOW | packages/excalidraw/locales/es-ES.json | 221 | "placeholder": "Encontrar texto en lienzo...", | CODE |
| LOW | packages/excalidraw/locales/es-ES.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/es-ES.json | 682 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/es-ES.json | 709 | "placeholder": "Búsqueda rápida" | CODE |
| LOW | packages/excalidraw/locales/es-ES.json | 738 | "placeholder": "Busca menús, comandos y descubre gemas ocultas", | CODE |
| LOW | packages/excalidraw/locales/ja-JP.json | 221 | "placeholder": "キャンバス内のテキストを検索…", | CODE |
| LOW | packages/excalidraw/locales/ja-JP.json | 490 | "placeholder": { | CODE |
| LOW | packages/excalidraw/locales/ja-JP.json | 682 | "placeholder": { | CODE |
| 228 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/element/tests/resize.test.tsx | 181 | COMMENT | |
| LOW | packages/element/tests/resize.test.tsx | 781 | // it("resizes with bound arrow", async () => { | COMMENT |
| LOW | packages/element/tests/resize.test.tsx | 981 | expect(image.width).toBeCloseTo(70); | COMMENT |
| LOW | packages/element/tests/resize.test.tsx | 1001 | // expect(arrow.endBinding?.elementId).toEqual(image.id); | COMMENT |
| LOW | packages/element/tests/resize.test.tsx | 1201 | expect(diagLine.y).toBeCloseTo((selectionHeight - 40) * (1 - scale) + 40); | COMMENT |
| LOW | packages/element/tests/resize.test.tsx | 1221 | // y: 50, | COMMENT |
| LOW | packages/element/tests/resize.test.tsx | 1241 | // elementId: string; | COMMENT |
| LOW | packages/element/tests/resize.test.tsx | 1261 | // leftArrowBinding.elementId, | COMMENT |
| LOW | packages/element/tests/textWrapping.test.ts | 601 | // 'ち', 'は', '世', '界!', | COMMENT |
| LOW | packages/element/src/delta.ts | 1441 | throw e; | COMMENT |
| LOW | packages/element/src/renderElement.ts | 901 | if (canSnapElement(element, appState)) { | COMMENT |
| LOW | packages/element/src/bucketFill.ts | 721 | const eps = options.snapEpsilon; | COMMENT |
| LOW | packages/element/src/bucketFill.ts | 941 | // nothing usable — not an error, just no enclosed region | COMMENT |
| LOW | packages/element/src/bucketFill.ts | 1241 | ): FaceSelection | null => { | COMMENT |
| LOW | packages/element/src/bucketFill.ts | 1721 | for (const index of splicedHoleIndices) { | COMMENT |
| LOW | packages/element/src/bucketFill.ts | 1741 | // mark lies inside the region (a floating line, a label, an icon — an | COMMENT |
| LOW | packages/element/src/arrowEndpointText.ts | 181 | ? HEADING_DOWN | COMMENT |
| LOW | packages/element/src/convertToShape.ts | 81 | COMMENT | |
| LOW | packages/element/src/convertToShape.ts | 101 | COMMENT | |
| LOW | packages/element/src/convertToShape.ts | 121 | // Minimum |skew| along the major axis for an open, straight stroke to be an | COMMENT |
| LOW | packages/element/src/convertToShape.ts | 201 | // Skew of the points projected onto the major axis. Signed so that it is | COMMENT |
| LOW | packages/excalidraw/charts.test.ts | 841 | // On epsilon axis, first series should dominate strongly. | COMMENT |
| LOW | packages/excalidraw/types.ts | 1301 | offset: { x: number; y: number }; | COMMENT |
| LOW | packages/excalidraw/types.ts | 1321 | // pointer interaction | COMMENT |
| LOW | packages/excalidraw/types.ts | 1341 | drag: { | COMMENT |
| LOW | …ckages/excalidraw/subset/harfbuzz/harfbuzz-bindings.ts | 81 | hbSubsetWasm.hb_set_invert(layoutFeatures); | COMMENT |
| LOW | …ckages/excalidraw/subset/harfbuzz/harfbuzz-bindings.ts | 101 | const inputUnicodes = hbSubsetWasm.hb_subset_input_unicode_set(input); | COMMENT |
| LOW | …ckages/excalidraw/subset/harfbuzz/harfbuzz-bindings.ts | 121 | // `hb_subset_input_pin_axis_location (harfbuzz) returned zero when pinning ${axisName} to ${value}, indicat | COMMENT |
| LOW | …ckages/excalidraw/subset/harfbuzz/harfbuzz-bindings.ts | 141 | // value.min, | COMMENT |
| LOW | packages/excalidraw/wysiwyg/textWysiwyg.tsx | 1261 | COMMENT | |
| LOW | packages/excalidraw/tests/history.test.tsx | 1101 | // expect(API.getRedoStack().length).toBe(4); | COMMENT |
| LOW | packages/excalidraw/tests/history.test.tsx | 1161 | ]); | COMMENT |
| LOW | packages/excalidraw/tests/data/reconcile.test.ts | 141 | // ------------------------------------------------------------------------- | COMMENT |
| LOW | packages/excalidraw/components/App.arrowText.ts | 61 | this.app.state.zoom, | COMMENT |
| LOW | packages/excalidraw/components/Sidebar/Sidebar.tsx | 201 | return () => setMounted(false); | COMMENT |
| LOW | packages/excalidraw/data/library.ts | 621 | } | COMMENT |
| LOW | packages/common/src/constants.ts | 441 | export const ELEMENT_PENDING_DRAW_SHAPE_OPACITY = 70; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/element/tests/frame.test.tsx | 72 | function selectElementAndDuplicate( | CODE |
| LOW | packages/element/src/frame.ts | 80 | export function isElementIntersectingFrame( | CODE |
| LOW | packages/element/src/renderElement.ts | 1362 | export function getFreedrawOutlineAsSegments( | CODE |
| LOW | packages/element/src/utils.ts | 129 | export function deconstructLinearOrFreeDrawElement( | CODE |
| LOW | packages/element/src/utils.ts | 206 | export function getLinearElementPathSegments( | CODE |
| LOW | packages/element/src/utils.ts | 245 | export function deconstructRectanguloidElement( | CODE |
| LOW | packages/element/src/utils.ts | 457 | export function deconstructDiamondElement( | CODE |
| LOW | packages/element/src/zindex.ts | 543 | function shiftElementsAccountingForFrames( | CODE |
| LOW | packages/element/src/linearElementEditor.ts | 2805 | function getLinearElementPathMetrics( | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 599 | function updateGlobalBufferAndViews(buf) { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 960 | function receiveInstantiatedSource(output) { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 1383 | function whenDependentTypesAreResolved( | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 1508 | function shallowCopyInternalPointer(o) { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 1519 | function throwInstanceAlreadyDeleted(obj) { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 1708 | function constNoSmartPtrRawPointerToWireType(destructors, handle) { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 1812 | function nonConstNoSmartPtrRawPointerToWireType(destructors, handle) { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 1842 | function simpleReadValueFromPointer(pointer) { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 1874 | function getInheritedInstanceCount() { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 1877 | function getLiveInheritedInstances() { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 2566 | function floatReadValueFromPointer(name, shift) { | CODE |
| LOW | packages/excalidraw/subset/woff2/woff2-bindings.ts | 2632 | function integerReadValueFromPointer(name, shift, signed) { | CODE |
| LOW | packages/laser-pointer/src/math.ts | 54 | export function getCircleAndPerpendicularLineIntersectionsAtPoint( | CODE |
| LOW | packages/math/src/curve.ts | 336 | export function curveCatmullRomQuadraticApproxPoints( | CODE |
| LOW | packages/math/src/curve.ts | 414 | export function offsetPointsForQuadraticBezier( | CODE |
| LOW | packages/common/src/constants.ts | 172 | export function getGenericFontFamilyFallback( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | packages/excalidraw/snapping.ts | 67 | // ┌───────────┐◄───────────────► | COMMENT |
| MEDIUM⚡ | packages/excalidraw/snapping.ts | 68 | // │ │-----------------┌───────────┐ | COMMENT |
| MEDIUM⚡ | packages/excalidraw/snapping.ts | 72 | // └───────────┘-----------------│ │ | COMMENT |
| MEDIUM⚡ | packages/excalidraw/snapping.ts | 73 | // └───────────┘ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …w/components/TTDDialog/utils/mermaidValidation.test.ts | 167 | // Simulates partial AI-generated content during streaming | COMMENT |
| HIGH | packages/excalidraw/data/blob.ts | 535 | // with AI generated images) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/excalidraw/tests/interactivity.test.tsx | 634 | // The placement scaffold remains for host UI, but default controls don't. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ges/excalidraw/components/TopPicksDnD/TopPicksDnD.scss | 55 | // one full dash+gap period per cycle → seamless loop | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/element/src/elbowArrow.ts | 1709 | // We need to check if the path we have arrived at this neighbor is the shortest one we have seen yet. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release.js | 164 | "Skipping commit. Don't forget to commit manually later!", | CODE |