MCPcopy
hub / github.com/codeaashu/claude-code / pct

Function pct

src/components/Stats.tsx:400–400  ·  view source on GitHub ↗
(n_1: number)

Source from the content-addressed store, hash-verified

398 return n_0 >= min && (max === undefined || n_0 <= max);
399 }).reduce((s_1, [, v]) => s_1 + v, 0);
400 const pct = (n_1: number) => Math.round(n_1 / total * 100);
401 const b1 = bucket(1, 1);
402 const b2_5 = bucket(2, 5);
403 const b6_10 = bucket(6, 10);

Callers 2

OverviewTabFunction · 0.85
renderOverviewToAnsiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected