📊 Re-usable, easy interface JavaScript chart library based on D3.js, with SVG and Canvas rendering support
This report summarizes scanner evidence for naver/billboard.js, a TypeScript project with 6,025 GitHub stars. SynthScan examined 158,024 lines of code across 411 source files, recording 82 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.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? 73 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 69 finding(s).
Which changes need focused human review? 82 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 82 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 | test/esm/canvas-spec.ts | 194 | function getCanvasSubchartClientPoint(coord, crossRatio = 0.5) { | CODE |
| LOW | src/config/resolver/canvas.ts | 101 | function getCanvasLegendPointPattern($$, id: string): string { | CODE |
| LOW | src/config/resolver/canvas.ts | 145 | function updateCanvasLegendItemMap($$, item): void { | CODE |
| LOW | src/config/resolver/canvas.ts | 202 | function revertCanvasHtmlLegendFocus($$): void { | CODE |
| LOW | src/config/resolver/canvas.ts | 216 | function setCanvasLegendTargetFocus($$, id: string): void { | CODE |
| LOW | src/config/resolver/canvas.ts | 234 | function revertCanvasLegendTargetFocus($$): void { | CODE |
| LOW | src/config/resolver/canvas.ts | 249 | function getCanvasLegendTouchPoint(event): Touch | undefined { | CODE |
| LOW | src/config/resolver/canvas.ts | 260 | function setCanvasLegendTouchStart($$, id: string, event): void { | CODE |
| LOW | src/config/resolver/canvas.ts | 279 | function updateCanvasLegendTouchMove($$, event): void { | CODE |
| LOW | src/config/resolver/canvas.ts | 314 | function markCanvasLegendTouchClick($$, id: string): void { | CODE |
| LOW | src/config/resolver/canvas.ts | 326 | function isDuplicateCanvasLegendTouchClick($$, id: string): boolean { | CODE |
| LOW | src/config/resolver/canvas.ts | 346 | function bindCanvasHtmlLegendInteractions($$, item): void { | CODE |
| LOW | src/config/resolver/canvas.ts | 501 | function getCanvasEventClientPoint(event: MouseEvent | PointerEvent | TouchEvent) { | CODE |
| LOW | src/config/resolver/canvas.ts | 576 | function getCanvasHoverDatumFromPoint($$, point: number[]) { | CODE |
| LOW | src/config/resolver/canvas.ts | 653 | function normalizeCanvasSubchartDomain($$, domain): any[] | null { | CODE |
| LOW | src/config/resolver/canvas.ts | 708 | function getCanvasMainPointFromSubchart($$, point: number[]): number[] | null { | CODE |
| LOW | src/config/resolver/canvas.ts | 736 | function getCanvasSubchartBrushExtent($$): [number, number] { | CODE |
| LOW | src/config/resolver/canvas.ts | 760 | function getCanvasSubchartBrushCoord( | CODE |
| LOW | src/config/resolver/canvas.ts | 792 | function getCanvasSubchartDomainFromCoords($$, start: number, end: number): any[] { | CODE |
| LOW | src/config/resolver/canvas.ts | 808 | function getCanvasSubchartBrushSelection($$): [number, number] | null { | CODE |
| LOW | src/config/resolver/canvas.ts | 839 | function getCanvasSubchartBrushMode($$, coord: number): | CODE |
| LOW | src/config/resolver/canvas.ts | 871 | function clampCanvasSubchartSelection($$, start: number, end: number): [number, number] { | CODE |
| LOW | src/config/resolver/canvas.ts | 912 | function getCanvasSelectionDragDelta($$, dataRows): {included: Set<string>, rows: any[]} { | CODE |
| LOW | src/config/resolver/canvas.ts | 989 | function isCanvasPointBasedInteraction($$, d): boolean { | CODE |
| LOW | src/config/resolver/canvas.ts | 1010 | function getCanvasTouchListenerOption(config): AddEventListenerOptions { | CODE |
| LOW | src/config/resolver/canvas.ts | 1071 | function shouldHandleCanvasPointerEvent($$, event: PointerEvent): boolean { | CODE |
| LOW | src/config/resolver/canvas.ts | 1082 | function isDuplicateCanvasInputClick($$, d): boolean { | CODE |
| LOW | src/config/resolver/canvas.ts | 1139 | function interpolateCanvasFlowDomain(start, end, ratio: number, isLog = false): any[] { | CODE |
| LOW | src/module/worker.ts | 280 | function getOrCreateWorkerResources(op: string, workerUrl = ""): | CODE |
| LOW | src/module/worker.ts | 280 | function getOrCreateWorkerResources(op: string, workerUrl = ""): | CODE |
| LOW | src/canvas/CanvasRenderer.ts | 123 | function getPreservedAspectRatioRect( | CODE |
| LOW | src/canvas/CanvasRenderer.ts | 256 | function getSubchartBrushHandlePath(axis: "x" | "y", type: "start" | "end"): Path2D | null { | CODE |
| LOW | src/canvas/CanvasRenderer.ts | 347 | function getCanvasTargetFocusOpacity($$, d): number { | CODE |
| LOW | src/canvas/CanvasRenderer.ts | 424 | function getCanvasLinearGradientFill( | CODE |
| LOW | src/canvas/CanvasRenderer.ts | 515 | function shouldCullDenseScatterPoints($$, target, pointType, hasGradient: boolean): boolean { | CODE |
| LOW | src/canvas/CanvasRenderer.ts | 750 | function drawCanvasLineWithDataRegions($$, target, painter: CanvasPainter): void { | CODE |
| LOW | src/canvas/CanvasAxisRenderer.ts | 131 | function getHorizontalXAxisClipRect(margin, width: number, height: number): CanvasRect { | CODE |
| LOW | src/canvas/CanvasAxisRenderer.ts | 164 | function getAxisTooltipBackgroundColor($$, id: AxisType): string | null { | CODE |
| LOW | src/canvas/CanvasAxisRenderer.ts | 239 | function getAxisLabelCanvasPosition( | CODE |
| LOW | src/canvas/CanvasAxisRenderer.ts | 584 | function normalizeXRegionBoundaryValue($$, value: AxisTickValue): AxisTickValue { | CODE |
| LOW | src/canvas/CanvasAxisRenderer.ts | 599 | function hasCategoryRegionBoundaryOffset($$, value: AxisTickValue): boolean { | CODE |
| LOW | src/canvas/CanvasAxisRenderer.ts | 670 | function getRotatedLineTextPosition(position: string | undefined, start: number, | CODE |
| LOW | src/canvas/CanvasTheme.ts | 437 | function getGridLineSelectorTarget( | CODE |
| LOW | src/canvas/CanvasTheme.ts | 487 | function getGridLineSelectorOverrides( | CODE |
| LOW | src/canvas/axisTicks.ts | 674 | function getCategoryXTickLineValues($$, targetScale = getXScale($$), | CODE |
| LOW | src/canvas/axisTicks.ts | 734 | function hasOverlappedXTickLineIntervals($$, ticks: AxisTickValue[], tickLineWidth: number, | CODE |
| LOW | src/canvas/axisTicks.ts | 948 | export function getAdditionalAxisTickValues($$, id: AxisType, scale, axisConfig): AxisTickValue[] { | CODE |
| LOW | src/canvas/axisTicks.ts | 972 | export function getAdditionalAxisTickFormat($$, axisConfig): AxisTickFormat { | CODE |
| LOW | src/canvas/geometry.ts | 45 | export function getCanvasCandlestickGeometry( | CODE |
| LOW | src/canvas/pointPattern.ts | 294 | function getPointPresentationValue(node: Element, name: string): string | null { | CODE |
| LOW | src/canvas/util.ts | 94 | export function getCanvasComparableXDomain($$): [number, number] | null { | CODE |
| LOW | src/canvas/util.ts | 180 | export function getCanvasTargetVisibleRange($$, target, padding = 1): CanvasValueRange { | CODE |
| LOW | src/canvas/util.ts | 367 | export function createCanvasPointOccupancyGrid( | CODE |
| LOW | src/canvas/HitDetector.ts | 140 | function shouldCullDenseScatterHitPoints($$, target): boolean { | CODE |
| LOW | src/ChartInternal/ChartInternal.ts | 79 | function getUnsupportedCanvasRenderType($$): string | null { | CODE |
| LOW | src/ChartInternal/ChartInternal.ts | 96 | function fallbackUnsupportedCanvasRenderMode($$): void { | CODE |
| LOW | src/ChartInternal/interactions/subchart.ts | 42 | function syncSubchartGridFocusStyle($$, line): void { | CODE |
| LOW | src/ChartInternal/interactions/subchart.ts | 77 | function showContinuousSubchartGridFocus($$): boolean { | CODE |
| LOW | src/ChartInternal/interactions/subchart.ts | 120 | function hideContinuousSubchartGridFocus($$): void { | CODE |
| LOW | src/ChartInternal/interactions/subchart.ts | 134 | function getMainPointFromSubchartEvent($$, event, context): [number, number] | null { | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | test/interactions/interaction-spec.ts | 46 | chart.internal.state.eventReceiver.coords.forEach((v, i) => { | CODE |
| CRITICAL | test/interactions/interaction-spec.ts | 98 | chart.internal.state.eventReceiver.coords.forEach((v, i) => { | CODE |
| CRITICAL | test/internals/resize-live-canvas-spec.ts | 124 | expect(+internal.canvasEngine.canvas.style.height.replace("px", "")) | CODE |
| CRITICAL | test/internals/axis-spec.ts | 2655 | chart.internal.state.eventReceiver.coords.forEach((d, idx) => { | CODE |
| CRITICAL | test/api/load-spec.ts | 474 | chart.internal.state.eventReceiver.data.forEach(function(v, i) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | benchmark/perf.spec.ts | 346 | // ── Print results ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | benchmark/perf.spec.ts | 408 | // ── Save results ─────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/simple-sidebar.css | 441 | COMMENT | |
| LOW | demo/demo.js | 8221 | description: "Given data will be formatted in Worker thread at the initial time.<br>*Under a strict CSP which blocks | COMMENT |
| LOW | test/shape/bar-spec.ts | 1741 | // ], | COMMENT |
| LOW | test/module/module-spec.ts | 81 | // expect(getGlobal().document).to.be.ok; | COMMENT |
| LOW | test/api/category-spec.ts | 41 | // ["x", "a", "b", "c", "d", "e"], | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | demo/demo.js | 3382 | format: function(v, id ,i, j) { return v > 0 ? "Ipsum is\nsimply dummy text" : "Lorem Ipsum is simply dummy text"; | CODE |
| LOW | test/internals/data-spec.ts | 1243 | "Lorem Ipsum is simply dummy text"; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/perf.spec.ts | 192 | function getData(s: number, n: number, type: string): any[][] { | CODE |