(category, sample)
| 178 | // --- run ---------------------------------------------------------------------- |
| 179 | const buckets = new Map(); // category -> {count, samples[]} |
| 180 | function 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 | |
| 187 | let filesWithDiffs = 0; |
| 188 | let filesOk = 0; |
no test coverage detected