cgag/loc
Count lines of code quickly. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3711
- days_rel: n/a
- days_push: 864
- n_releases_24m: 0
Adoption not part of the score
2457 stars · 125 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
loc is a fast Rust-based command-line tool for counting lines of code, serving as a much faster alternative to cloc. It reports files, lines, blank lines, comments, and code per language.
Use cases
- count lines of code in a repository
- measure codebase size by language
- fast sloc statistics for large directories
- compare comment vs code line counts
- cloc alternative that is much faster
When to choose
- you need very fast line counting on huge codebases
- you want a simple cloc-style report from the terminal
When to avoid
- you need the most accurate language detection - tokei or scc are recommended by the author
- you need actively developed features - the project sees little maintenance
Facets
cli-tool · maturity maintenance
developer-tools cli developer-tools windows rust cli code-counting sloc cloc-alternative statistics command-line linux macos
2 sources
- readme: https://github.com/cgag/loc · fetched 2026-08-28 · 83f729c876dc
- registry_crates: https://crates.io/api/v1/crates/loc · fetched 2026-08-29 · 627dd7e4a5fa
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cgag/loc | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem