crap-analysis

Community

Identify high-risk code via CRAP scores.

AuthorAaronontheweb
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill analyzes code quality metrics to identify high-risk code paths by evaluating CRAP scores and test coverage, enabling teams to target refactoring and testing efforts.

Core Features & Use Cases

  • CRAP score computation: combines complexity and coverage to surface risky methods.
  • OpenCover + ReportGenerator integration: uses standard OpenCover format and HTML/CSV reports to identify hotspots.
  • Use Case: Before deploying changes in a .NET project, run this skill to pinpoint risky modules that require tests or refactoring.

Quick Start

Run a CRAP analysis using your project's OpenCover results to generate a risk hotspot report.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: crap-analysis
Download link: https://github.com/Aaronontheweb/dotnet-skills/archive/main.zip#crap-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.