Crap4Clj
C 69 completed
Other
unknown / clojure · tiny
12
Files
589
LOC
0
Frameworks
2
Languages
Pipeline State
completedRun ID
#389668Phase
doneProgress
1%Started
Finished
2026-04-13 01:31:02LLM tokens
0Pipeline Metadata
Stage
CatalogedDecision
proceedNovelty
29.96Framework unique
—Isolation
—Last stage change
2026-05-10 03:26:32Deduplication group #48281
Member of a group with 10 similar repo(s) — canonical #112542 view group →
Top concepts (1)
Project Description
About: code-quality intelligence by Repobility · https://repobility.com
AI Prompt
Build me a tool, similar to a static analysis report generator, specifically for Clojure projects. I want it to calculate a "CRAP" (Change Risk Anti-Pattern) metric for functions. This metric should combine cyclomatic complexity (CC) with test coverage data, using the formula $CRAP(fn) = CC^2 \times (1 - coverage)^3 + CC$. The tool should analyze code, report the function name, namespace, CC, coverage percentage, and the final CRAP score, and allow filtering by module name fragments.
clojure static-analysis code-quality testing metrics
Generated by gemma4:latest
Catalog Information
CRAP (Change Risk Anti-Pattern) metric for Clojure projects.
Description
CRAP (Change Risk Anti-Pattern) metric for Clojure projects.
Novelty
3/10Tags
clojure static-analysis code-quality testing metrics
Claude Models
claude-opus-4-6
Quality Score
C
69.0/100
Structure
59
Code Quality
100
Documentation
30
Testing
40
Practices
78
Security
100
Dependencies
50
Strengths
- Consistent naming conventions (snake_case)
- Low average code complexity \u2014 well-structured code
- Good security practices \u2014 no major issues detected
Weaknesses
- No LICENSE file \u2014 legal ambiguity for contributors
- No CI/CD configuration \u2014 manual testing and deployment
Recommendations
- Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
- Add a linter configuration to enforce code style consistency
- Add a LICENSE file (MIT recommended for open source)
Security & Health
4.1h
Tech Debt (E)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (10)
All rows scored by the Repobility analyzer (https://repobility.com)
Unknown
License
0.0%
Duplication
Languages
Frameworks
None detected
Concepts (1)
| Category | Name | Description | Confidence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Repobility · open methodology · https://repobility.com/research/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_description | Project Description | CRAP (Change Risk Anti-Pattern) metric for Clojure projects. | 80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Embed Badge
Add to your README:
