MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / exclusionPhrases

Function exclusionPhrases

ui/src/lib/deadcode-model.ts:59–62  ·  view source on GitHub ↗
(payload: WireDeadCode | null)

Source from the content-addressed store, hash-verified

57
58/** Each exclusion as "N <label>", biggest first — the sentence under the list. */
59export function exclusionPhrases(payload: WireDeadCode | null): string[] {
60 if (!payload) return [];
61 return payload.excluded.map((entry) => `${entry.count.toLocaleString()} ${entry.label}`);
62}
63
64/** The row's second line: what it is, and what deleting it would remove. */
65export function deadCodeRowMeta(row: WireDeadCodeRow): string {

Callers

nothing calls this directly

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected