CRAP: Change Risk Anti-Patterns

CRAP: Change Risk Anti-Patterns

CRAP combines complexity and code coverage, to help you identify if your code has a high risk of breaking or causing unintended side effects when modified, due to low code coverage and high complexity. A low CRAP score signals easy to understand code (low complexity) and high code coverage, a high score indicates the opposite.

We have a blog post that explains cyclomatic complexity and CRAP in detail.

Improve code quality today_

With OtterWise, you can track Code Coverage, test performance, contributor stats, code health, and much more.