Test coverage

Latest

Loading…

By assembly

Assembly Line Branch

Line coverage over time

CRAP hotspots

Loading…

Method Complexity Line coverage CRAP

CRAP = complexity² × (1 − coverage)³ + complexity. Coverage enters cubed, so testing a gnarly method collapses its score quickly; a fully covered method scores exactly its complexity, which only refactoring can lower. This is the test-writing backlog, ordered by risk rather than by whatever a percentage is shouting about.