MCPcopy Create free account
hub / github.com/adobe/react-spectrum / count

Function count

perf/runner.mjs:485–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483 for (let scenario of [...new Set(intervals.map(({scenario}) => scenario))]) {
484 let rows = intervals.filter(row => row.scenario === scenario);
485 let count = verdict => rows.filter(row => row.verdict === verdict).length;
486 lines.push(
487 `| ${scenario} | ${excluded.filter(row => row.scenario === scenario).length}/${rows.length} | ${count('within practical threshold')} | ${count('inconclusive')} | ${count('improvement detected')} | ${count('regression detected')} |`
488 );

Callers 1

validateFunction · 0.85

Calls 1

filterMethod · 0.65

Tested by

no test coverage detected