← ClaudeAtlas

principleslisted

Metric literacy for what this plugin reports: what cyclomatic complexity, cognitive complexity, Halstead difficulty, lines per file, duplication, coverage, CRAP, and type debt mean, and what none of them can tell a reader. Four reference files carry the definitions and what each collector computes, each bundled reference value with its provenance (why cyclomatic 20, why 22 and 80 have no citation), the CRAP formula with its name history and coverage join, and an annotated bibliography (McCabe, Halstead, NIST SP 500-235, Campbell, Lewis 2013, ISO/IEC 5055 and 25023). Cross-metric caveats live here once; owners of the measures it leaves alone are named behind a presence gate. Use when: 'what does cyclomatic complexity mean', 'is CRAP a real metric', 'why is the cyclomatic reference 20', 'what is a good coverage number', 'which metric should I look at', 'code metrics principles'; for the numbers themselves run the /code-metrics:audit-* skills.
melodic-software/claude-code-plugins · ★ 18 · AI & Automation · score 74
Install: claude install-skill melodic-software/claude-code-plugins
# Code metrics knowledge base The five `audit-*` skills in this plugin print numbers with their provenance and stop. This skill says what each number means, where its reference value came from, and where reading it as a verdict goes wrong. It renders no verdict of its own, and neither does the plugin: a reference is a value to count against, never a bar, and no skill here emits a finding, a severity, or an exit-code gate, because a finding needs a measured corpus sweep behind it and none has been run. Reference files in `reference/` are source-attributed; the sections below answer the common questions without a load. ## Routing table | Query about... | Load | |---|---| | What a measure is, its formula, per-lane collector behavior, coverage artifact formats | [measures.md](reference/measures.md) | | Where a reference value came from, which popular numbers have no source, how to set your own | [thresholds.md](reference/thresholds.md) | | The CRAP formula, its two authorial names, the coverage join, what it does not predict | [crap.md](reference/crap.md) | | Who published what, what a paper claims and does not claim, confidence per source | [literature.md](reference/literature.md) | | The report vocabulary (`cov_source`, `not-applicable`, `partial`) and the JSON document shape | `${CLAUDE_PLUGIN_ROOT}/reference/report-schema.md` | Load the one file the question lands in. Load a second only when the first leaves the question open. ## Quick decision guide (no file load needed