Skip to main content
Technical debt, in euros

Know exactly how much your technical debt costs.

Scan any Git repo. Get firefighting costs, debt servicing burn, and recovery investment — in euros, not abstract scores.

Free. No account required. Works offline.

Or browse public analyses of Laravel, Symfony, Vue.js.

acme/backend-api Q4 2026 · 10 developers
Firefighting bug-fix commits × €450/day
−€8,400/mo
Debt servicing refactoring, churn, rework
−€5,100/mo
Monthly cost of debt
−€13,500
Recovery investment one-time · 3 hotspots, 2 silos
€42,000
Break-even recovery ÷ monthly savings
3.1 mo
Health score 72/100 · PaymentGateway.php drives 40% of bug-fix commits.
technical debt metrics
8
public OSS analyses
5
EU dev daily rate
€450
code stays local
100%
How it works

From git log to boardroom in 3 steps

  1. 01

    Analyze locally

    Run debtlens analyze on any repo. Get an instant HTML report with 8 metrics — completely offline.

  2. 02

    Push to the hub

    Activate a license and run debtlens report. Your aggregated scores (never source code) are sent to the hub.

  3. 03

    Get AI insights

    Claude generates a business narrative. Download a PDF your CFO can read — costs in euros, prioritized actions.

Deliverables

What you actually get

Three artifacts, three audiences. Each tuned to the conversation it needs to start.

For developers

Interactive HTML report

Full dashboard with 8 scores, hotspot map, coupling pairs, velocity trend. Generated locally, opens in any browser.

Health score
72/100
Hotspots
68
Complexity × Churn
54
Knowledge Silos
81
AI Governance
43
Velocity Trend
76
Merge Discipline
88
For CTOs & CFOs

AI-generated PDF

Claude writes a business narrative around the three cost dimensions. Forward to finance, no translation needed.

Q4 2026 · Executive summary 1 of 4

Technical Debt — acme/backend-api

Firefighting
−€8,400/mo
Debt servicing
−€5,100/mo
Recovery investment
€42,000

Break-even on recovery: 3.1 months. Annual savings potential: €119k.

For tech leads

Weekly email digest

Short Monday-morning summary. Trends, new hotspots, delta. Everything you need before standup.

Weekly digest Monday, 8:00 AM

Your DebtLens weekly — acme/backend-api

Health score
72 (↑ +3)
Firefighting
€8.4k (↓ −12%)
New hotspot
PaymentGateway.php

Read the full report →

The eight measures

Eight dimensions of technical debt

What each scan reveals

DebtLens reads your git history — commits, authors, file changes — and computes eight complementary metrics. Together, they paint a complete picture of your codebase health.

Measure What it measures Why it matters What the report shows
Scan 1 Hotspot Analysis Files changed most often — where bugs keep coming back. What it measuresRanks every file by how often it was changed over the last 6 months. A file touched 47 times while the average is 3 is a hotspot. Why it mattersHotspots concentrate bugs. Research shows that 4% of files cause 50% of defects. Knowing where they are lets you focus refactoring where it actually matters. What the report showsA ranked list of critical and warning hotspots, with change frequency and a density score (0–1) that feeds into your overall health rating.
Scan 2 Complexity × Churn Complex files that change frequently — the danger zone. What it measuresCross-references cyclomatic complexity with change frequency. A 500-line file with complexity 40 that changes weekly is far more dangerous than a complex file nobody touches. Why it mattersComplex + frequently changed = highest defect probability. These files slow down every developer who touches them and are the #1 source of regressions. What the report showsA quadrant map: high-complexity/high-churn files are flagged as critical. You see exactly which files need refactoring first for maximum impact.
Scan 3 Temporal Coupling Files that always change together — hidden dependencies. What it measuresDetects files that consistently change together in the same commits. If UserService.php and BillingHelper.php always change as a pair, they have hidden coupling. Why it mattersTemporal coupling reveals architectural debt that static analysis misses. These hidden dependencies make changes unpredictable — touching one file breaks another in ways no linter can catch. What the report showsA coupling index (0–1) and the pairs of files with the strongest co-change patterns. High coupling = candidates for merging or clearer interfaces.
Scan 4 Knowledge Silos Code owned by a single developer — your bus factor. What it measuresMeasures author concentration per file. If 90% of commits on a critical module come from one person, that module is a knowledge silo. Why it mattersWhen that person goes on vacation, changes teams, or quits, nobody else can safely modify the code. Knowledge silos are a direct operational risk — your bus factor. What the report showsA silo risk score (0–1) and the number of files with dangerous single-author concentration. The report highlights which areas need knowledge sharing or pair programming.
Scan 5 Dead Code Detection Files no one touches — cleanup candidates. What it measuresIdentifies files that haven't been modified in a long time relative to the rest of the codebase. A file untouched for 18 months in an active repo is likely dead weight. Why it mattersDead code increases onboarding time, confuses new developers, and inflates metrics. Cleaning it up is the easiest, lowest-risk way to improve your codebase health. What the report showsA dead code ratio (0–1) and a count of candidate files. The report distinguishes truly dead files from stable utility code that rarely needs changes.
Scan 6 Velocity Trend Is the team shipping features or fighting fires? What it measuresClassifies recent commits into feature work, bug fixes, and refactoring based on commit message patterns. Then measures the ratio over time. Why it mattersA healthy team spends most of its time on features. When bug fixes dominate, the team is firefighting instead of building. This is the clearest signal that debt is costing real velocity. What the report showsA velocity profile breakdown (% feature / % bugfix / % refactoring) and a trend indicator — is the balance improving or deteriorating month over month?
Scan 7 Merge Discipline Is the team reviewing code before merging? Your quality bus factor. What it measuresAnalyzes merge commits to detect self-merges (author == merger), reviewer diversity, and average PR size. Uses git log --merges — 100% offline, no GitHub API required. Why it mattersCode merged without review carries higher defect risk and creates knowledge silos. Two repos with identical DebtLens scores can have radically different quality cultures — this scan reveals the difference. What the report showsA discipline signal (exemplary / adequate / weak / solo) and a self-merge ratio. High self-merge ratio + low reviewer diversity = weak discipline, high risk.
Scan 8 AI Governance Is AI-generated code being reviewed before it ships? Your governance risk. What it measuresDetects AI-generated code signatures in your git history — Co-Authored-By trailers (Claude, Copilot, Cursor, Codeium...), commit messages, and bot authors (Dependabot, Renovate). Then checks whether each AI commit was reviewed by a human before merging. Why it mattersAI-assisted coding is productive when governed. But AI code merged without review is a ticking governance bomb — no one verified correctness, security, or architectural fit. For CTOs and compliance teams, knowing what percentage of your codebase was written by AI and shipped unreviewed is critical. What the report showsA governance signal (clean / governed / partial / uncontrolled), the AI commit ratio, the unreviewed AI ratio, and the list of AI tools detected in the repo.
Cost model

Three cost dimensions your CFO understands

DebtLens doesn't just score your codebase. It translates technical debt into euros — broken down into three actionable categories.

Dimension How it is computed acme/backend-api example
Firefighting cost Money burned reacting to bugs instead of building features. Calculated from your bug-fix commit ratio. How it is computedFormula: developers × €450/day × 20 days × bug ratio acme/backend-api example−€8,400/mo
Debt servicing Ongoing cost of refactoring, config churn, and rework. You're maintaining the debt without reducing it. How it is computedFormula: developers × €450/day × 20 days × non-feature ratio acme/backend-api example−€5,100/mo
Recovery investment One-time cost to clean up. Address critical hotspots, dissolve knowledge silos, remove dead code. How it is computedBased on: hotspots (∼2 days), silos (∼1 day), dead files (∼0.5h each) acme/backend-api example€42,000

All estimates use €450/day — the average fully-loaded cost of a software developer in Europe.

Privacy

Your code never leaves your machine

Code stays local

Analysis runs on your machine. Only aggregated scores are sent.

Read-only

We analyze git history. We never modify your repository.

No AI training

Your data is never used to train models.

GDPR compliant

EU-based infrastructure. Full data transparency.

Read our full data policy

FAQ

Frequently asked questions

What is DebtLens?
DebtLens is a tool that scans a Git repository and translates technical debt into euros. It computes eight metrics from git history and reports firefighting cost, debt servicing burn and recovery investment.
Who is DebtLens for?
Developers get an interactive HTML report, CTOs and CFOs get an AI-generated PDF with costs in euros, and tech leads get a weekly email digest.
How does DebtLens work?
Run debtlens analyze on any repo to get an offline HTML report with 8 metrics. Optionally activate a license and run debtlens report to send aggregated scores to the hub, where Claude generates a business narrative and a PDF.
Does my source code leave my machine?
No. Analysis runs locally and only aggregated scores are sent to the hub, never source code. Your data is never used to train models.
How are the costs calculated?
Firefighting cost is developers × €450/day × 20 days × bug ratio. Debt servicing is developers × €450/day × 20 days × non-feature ratio. All estimates use €450/day as the fully-loaded cost of a software developer in Europe.
Is DebtLens free?
The CLI is free, works offline and needs no account. Paid plans add the hub, AI narrative and PDF reports; see the pricing page for details.

Start with a free local analysis

No account needed. Download the CLI, point it at a repo, see the results.

Download the CLI