Ross ROSS = Recommend OSS · open-source software intelligence for agents

cgag/loc

Count lines of code quickly. observed · 2026-08-28

github.com/cgag/loc · Rust · MIT (permissive) 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

Full methodology

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

Member repositories

RepositoryRoleHealth v2
cgag/locmain23

For agents

markdown · JSON · MCP: product_card(name="cgag/loc")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem