MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / covers

Function covers

graph-ui/src/ui/tooltip/tooltip-model.ts:218–219  ·  view source on GitHub ↗
(candidate: HintRect)

Source from the content-addressed store, hash-verified

216 margin: number,
217): HintRect | null {
218 const covers = (candidate: HintRect): number =>
219 protect.reduce((sum, rect) => sum + overlapArea(candidate, rect), 0);
220 const inside = (candidate: HintRect): boolean =>
221 candidate.x >= margin
222 && candidate.y >= margin

Callers 1

slideClearFunction · 0.85

Calls 2

reduceMethod · 0.80
overlapAreaFunction · 0.70

Tested by

no test coverage detected