debtmap
v0.2 · MITfor vibe-coded and AI-generated repos
Your AI-generated code
has debt. Find it.
DebtMap scans a GitHub repo for the telltale patterns of AI-era sprawl — duplication, silent error swallowing, missing tests, god files — plus git-evidence AI provenance, and returns a single score, a file-level heatmap, and a prioritized fix list.
Example badge:
paste the markdown snippet from your results page into your README
01
Paste a GitHub URL
Public repo or your own with a token. We clone shallow, extract AST, never execute code.
02
Eight analyzers run
Error handling, duplication, contracts, tests, comments, imports, churn — plus git-metadata AI provenance.
03
Get your DebtScore
One number A–F, file treemap, action plan, and a README badge you can embed in minutes.
Error Handling
weight 25%
Duplication
weight 20%
Arch. Contracts
weight 20%
Test Coverage
weight 10%
Comment Patterns
weight 10%
Dependency Graph
weight 10%
Code Churn
weight 5%
AI Provenance
weight git evidence