Robert C. Martin
9f1bead298
Fix the coverage, git, and Clojure bugs, and bring CRAP under 10.
...
A path in a built-in coverage command is one argument, a failed custom coverage command does not read a stale report, and git failures exit with git's status. The Clojure reader honors discards, metadata, and character literals. Long functions are split so every score is under 10 except the option switch.
2026-10-03 17:27:59 -05:00
Robert C. Martin
f0cb973110
Count ?? and ?., Express handlers, and JavaScript files, and score missing coverage as 0%.
2026-10-03 08:49:10 -05:00
Robert C. Martin
b1c0fa4104
Add the Zero-Clause BSD license.
2026-10-03 08:48:27 -05:00
Robert C. Martin
ce3895211e
Add tests for the branches the first mutation run left alive.
2026-10-02 10:36:31 -05:00
Robert C. Martin
4909ad241b
Create each language through a LanguageFactory.
...
functions_in_file asks the factory for a language instance instead of constructing the language itself.
2026-09-30 08:48:29 -05:00
Robert C. Martin
103df22cb5
Add the Crapper UML policy and diagram.
...
Generated from the Python package under src/crapper.
EOF && git status -sb && git log -3 --oneline
2026-09-30 08:38:17 -05:00
Robert C. Martin
bd91c20ebf
Route function extraction through a Language type.
...
Each language implements functions. An unknown language returns nothing.
2026-09-30 08:38:14 -05:00
Robert C. Martin
a4b5fc2aed
Add a multi-language CRAP tool that writes .metrics/crap.edn for uml-viewer.
...
Score Clojure, Java, Go, TypeScript, Rust, and Python with each language's complexity rules and coverage report.
2026-09-30 08:21:44 -05:00