Crap

Measure and lower CRAP (Change Risk Anti-Patterns) — a metric that fuses cyclomatic complexity and test coverage to surface fragile code. Use when verifying test quality after a feature, gating PRs, refactoring legacy code, setting up a new project's quality bar, or whenever the user mentions "CRAP score", "complexity", "Change Risk Anti-Patterns", or wants to know which functions are most likely to break. Pair with mutation-testing so coverage is meaningful, not superficial.

jonmumm 6e3bfdb 4 files · 19.4 KB Updated

File contents

jonmumm/skills/tree/main/crap commit 6e3bfdb6d8

Frequently asked questions

npx skillmds@latest add jonmumm/crap