Crap4Clj

C 69 completed
Other
unknown / clojure · tiny
12
Files
589
LOC
0
Frameworks
2
Languages

Pipeline State

completed
Run ID
#389668
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
29.96
Framework unique
Isolation
Last stage change
2026-05-10 03:26:32
Deduplication 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/10

Tags

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
Full Security Report AI Fix Prompts SARIF SBOM

Languages

clojure
71.6%
markdown
28.4%

Frameworks

None detected

Concepts (1)

Powered by Repobility · code-quality intelligence
CategoryNameDescriptionConfidence
Repobility · open methodology · https://repobility.com/research/
auto_descriptionProject DescriptionCRAP (Change Risk Anti-Pattern) metric for Clojure projects.80%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/113984.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV