MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / source-metrics.test.ts

File source-metrics.test.ts

graph-ui/src/architecture/source-metrics.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest';
2import type { GraphData, GraphNode } from '../galaxy/types';
3import { buildSemanticGraph } from './semantic-graph';
4import { collectSourceMetrics, measureSourceNode, scopeBrickHeights, sourceBrickHeight, sourceLanguage, languageColor, sourceNodeSizePercent } from './source-metrics';

Callers

nothing calls this directly

Calls 13

collectSourceMetricsFunction · 0.90
sourceBrickHeightFunction · 0.90
buildSemanticGraphFunction · 0.90
measureSourceNodeFunction · 0.90
sourceNodeSizePercentFunction · 0.90
languageColorFunction · 0.90
sourceLanguageFunction · 0.90
scopeBrickHeightsFunction · 0.90
expectFunction · 0.85
reduceMethod · 0.80
nodeFunction · 0.70
areaFunction · 0.70

Tested by

no test coverage detected