Crap Analysis · Aaronontheweb/dotnet-skills

Find high-risk, undertested code with CRAP scores

Combines cyclomatic complexity with test coverage to calculate CRAP scores, useful for identifying high-risk, undertested .NET code before refactoring and for setting coverage thresholds in a CI/CD pipeline.

Good for

  • Set up OpenCover coverage collection for a .NET project
  • Calculate CRAP scores to prioritize refactoring
  • Identify untested, high-complexity code paths
Category
Research

Open-source skills are maintained by their authors and listed as published, with attribution. Results depend on how well the skill fits your task and material.

A good place to start

Help me set up coverage collection and find high-CRAP-score methods in my .NET project.

Make your next great thing.

Bring a question, a file, or an idea that’s not quite there yet.