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

Function deadCodeScale

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

Source from the content-addressed store, hash-verified

51 * thousand are different screens, and only this sentence tells them apart.
52 */
53export function deadCodeScale(payload: WireDeadCode | null): string {
54 if (!payload || payload.candidates === 0) return '';
55 return `${payload.candidates.toLocaleString()} ${noun(payload.candidates, 'symbol')} in this index carry no incoming reference at all; ${payload.excludedTotal.toLocaleString()} of them were left off this list.`;
56}
57
58/** Each exclusion as "N <label>", biggest first — the sentence under the list. */
59export function exclusionPhrases(payload: WireDeadCode | null): string[] {

Callers

nothing calls this directly

Calls 1

nounFunction · 0.85

Tested by

no test coverage detected