Generated by scc - Sloc, Cloc and Code.
Aggregate counts across all source files in the working tree, with cost estimates and ULOC-based DRYness.
Per-language counts and share of total code. Bar shows code share; ULOC indicates how many lines are unique.
| Language | Files | Code | Comment | Blank | Complexity | ULOC | Share |
|---|---|---|---|---|---|---|---|
| Go | 12 | 8,000 | 600 | 1,200 | 420 | 5,400 | |
| JavaScript | 6 | 2,400 | 180 | 360 | 90 | 1,800 | |
| Markdown | 3 | 240 | 0 | 60 | 0 | 220 | |
| Total | 21 | 10,640 | 780 | 1,620 | 510 | 7,420 |
Distribution of characters per line, bucketed across all files. Helps spot files with unusually long lines.
Files with the highest churn × complexity. High score = touched often and hard to reason about, prime targets for refactoring or test coverage.
| File | Score | Commits | Authors | Churn | Complexity |
|---|---|---|---|---|---|
| internal/server.go | 92.5 | 64 | 4 | 1,200 | 240 |
| internal/cache.go | 41.2 | 28 | 2 | 420 | 120 |
| web/app.js | 17.8 | 14 | 2 | 180 | 60 |
File pairs that change together in the same commits. High coupling = an implicit dependency git enforces but the code doesn't; editing one usually means editing the other.
| File A | File B | Shared | Coupling |
|---|---|---|---|
| internal/cache.go | internal/server.go | 22 | 34.4% |
| internal/server.go | web/app.js | 9 | 13.0% |
| README.md | internal/server.go | 6 | 8.1% |
Ownership measured by line-level git blame across the analysis window. Bus factor: 1; Alice owns the most code in window.
| Author | Code | Files | Owns | In window | Last commit |
|---|---|---|---|---|---|
| Alice <alice@example.com> | 6,200 | 14 | 62.4% | 64.0% | 2026-01-14 |
| Bob <bob@example.com> | 2,400 | 8 | 24.1% | 22.0% | 2026-01-12 |
| (before window) | - | - | - | - | before window |
Code lines by language over the analysed history window. Sparkline trajectory per language and per author.
| Language | Start | Now | Δ | Trajectory |
|---|---|---|---|---|
| Go | 4,000 | 8,000 | +4,000 | |
| JavaScript | 2,200 | 2,400 | +200 | |
| Markdown | 200 | 240 | +40 |
| Author | Commits | Δ code | Activity |
|---|---|---|---|
| Alice | 48 | +3,800 | |
| Bob | 22 | +400 |
Two ways to value the codebase: human-build effort (COCOMO, Boehm 1981) and machine-rebuild effort (LOCOMO, LLM regeneration model).
Per-file detail for the full tree (4 files). Sorted by lines descending; first ten shown, expand to see the rest.
| File | Lines | Code | Comment | Complexity | Bytes | ULOC |
|---|---|---|---|---|---|---|
| internal/server.go | 3,200 | 2,600 | 200 | 240 | 96,000 | 2,200 |
| web/app.js | 2,000 | 1,600 | 80 | 60 | 60,000 | 1,200 |
| internal/cache.go | 1,400 | 1,100 | 120 | 120 | 42,000 | 900 |
| README.md | 120 | 100 | 0 | 0 | 4,096 | 90 |