Glossary

CRAP: Change Risk Anti-Patterns

CRAP combines complexity and code coverage, to give you a metric that helps you identify risky parts of your codebase.

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.

Ready when you are

Ship better code faster, with confidence.

PR comments, status checks, line annotations, and trends, all without code access. Free for public repos; per-repo pricing for private repos.