crap4clj

Community

Rank risky code by CRAP scores.

Authorunclebob
Version1.0.0
Installs0

System Documentation

What problem does it solve?

CRAP metrics help you identify functions that are both complex and under-tested by combining cyclomatic complexity with test coverage, enabling targeted risk remediation in Clojure projects.

Core Features & Use Cases

  • Compute and rank CRAP scores for defn/defn- forms across a codebase.
  • Read Cloverage-derived coverage data to blend with CC metrics.
  • Generate a sorted, actionable report that highlights highest-risk functions.

Quick Start

Run clj -M:crap to analyze all source files and generate a CRAP 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: crap4clj
Download link: https://github.com/unclebob/crap4clj/archive/main.zip#crap4clj

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 223,000+ vetted skills library on demand.