#CRAP Metric

1 posts · All tags

  1. Using the CRAP Metric to Find the Functions That Most Need Tests

    With mostly agent-written code, high line coverage couldn't show whether the gaps sat in the most complex functions; a CRAP threshold of 8 cleared 200-plus offending functions and turned up 72 issues to fix.

    Engineering ·
    2026.10.10