Repository Analysis

xyflow/xyflow

React Flow | Svelte Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev) or Svelte (https://svelteflow.dev). Ready out-of-the-box and infinitely customizable.

0.2 Likely human-written View on GitHub
0.2
Adjusted Score
0.2
Raw Score
100%
Time Factor
2026-05-28
Last Push
36,844
Stars
TypeScript
Language
65,679
Lines of Code
674
Files
13
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 13

Pattern Findings

13 matches across 2 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers6 hits · 8 pts
SeverityFileLineSnippet
LOWexamples/react/src/examples/Stress/performanceUtils.ts108export function generateMouseEventParamsTargetingNode(node: Element) {
LOWpackages/system/src/xypanzoom/eventhandler.ts143export function createZoomOnScrollHandler({ noWheelClassName, preventScrolling, d3ZoomHandler }: ZoomOnScrollParams) {
LOWpackages/system/src/xypanzoom/eventhandler.ts165export function createPanZoomStartHandler({ zoomPanValues, onDraggingChange, onPanZoomStart }: PanZoomStartParams) {
LOW…t/src/container/GraphView/useNodeOrEdgeTypesWarning.ts15export function useNodeOrEdgeTypesWarning(nodeOrEdgeTypes?: NodeTypes): void;
LOW…t/src/container/GraphView/useNodeOrEdgeTypesWarning.ts16export function useNodeOrEdgeTypesWarning(nodeOrEdgeTypes?: EdgeTypes): void;
LOW…t/src/container/GraphView/useNodeOrEdgeTypesWarning.ts18export function useNodeOrEdgeTypesWarning(nodeOrEdgeTypes: any = emptyTypes): any {
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippet
LOWtests/playwright/playwright.shared.config.ts61
LOWtests/playwright/e2e/pane.spec.ts181// await page.waitForSelector('[data-id="first-edge"]', { timeout: 5000 });
LOWexamples/svelte/src/generic-tests/edges/general.ts181 // source: '9',
LOWexamples/react/cypress/support/e2e.ts1// ***********************************************************
LOWexamples/react/src/generic-tests/edges/general.ts181 // {
LOWexamples/astro-xyflow/src/env.d.ts1/// <reference path="../.astro/types.d.ts" />
LOWpackages/svelte/src/routes/+page.svelte.d.ts1/** @typedef {typeof __propDef.props} PageProps */