Alternatives to cloc
A command-line tool that counts blank, comment and code lines across many programming languages. The listings below can replace it for an important use case. Each note says what changes if you switch.
The original
cloc
A command-line tool that counts blank, comment and code lines across many programming languages.
Replacements
Listings that take over the same core job as cloc.
scc
Count source lines and estimate code complexity across projects.
scc also counts source lines across languages under the MIT license, and adds complexity and effort estimates from the same repository scan.
Similar software
Related functionality, not a direct replacement.
Onefetch
Display a local Git repository's statistics in the terminal.