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

Function report

scripts/kernel-parity.mjs:180–185  ·  view source on GitHub ↗
(category, sample)

Source from the content-addressed store, hash-verified

178// --- run ----------------------------------------------------------------------
179const buckets = new Map(); // category -> {count, samples[]}
180function report(category, sample) {
181 let b = buckets.get(category);
182 if (!b) buckets.set(category, (b = { count: 0, samples: [] }));
183 b.count++;
184 if (b.samples.length < maxSamples) b.samples.push(sample);
185}
186
187let filesWithDiffs = 0;
188let filesOk = 0;

Callers 1

kernel-parity.mjsFile · 0.85

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected