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

AlDanial/cloc

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. observed · 2026-08-28

github.com/AlDanial/cloc · Perl · GPL-2.0 (copyleft) observed · 2026-08-28

Health v2 · maintenance only

87/100

  • Activity 96
  • Release rhythm 67
  • 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: 160
  • age_days: 4013
  • days_rel: 60
  • days_push: 25
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

23466 stars · 1121 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

cloc is a command-line tool that counts blank lines, comment lines, and physical lines of source code across many programming languages. It can analyze individual files, directories, archives, or git commits and reports per-language statistics.

Use cases

  • count lines of code in a project
  • measure comment vs code ratio in a codebase
  • compare code size between git commits
  • get per-language line statistics for a directory
  • audit codebase size before refactoring

When to choose

  • you need quick, language-aware line counts from the terminal
  • you want a mature, dependency-light tool with broad language support
  • you need to analyze archives or git diffs for code volume

When to avoid

  • you need deeper code quality metrics like complexity or duplication
  • you want IDE-integrated live metrics rather than a CLI report

Facets

cli-tool · maturity stable

developer-tools analytics cli developer-tools programming-languages cross-platform cli windows count-lines-of-code code-metrics perl sloc command-line linux macos docker

1 source

Member repositories

RepositoryRoleHealth v2
AlDanial/clocmain87

For agents

markdown · JSON · MCP: product_card(name="AlDanial/cloc")

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