alternatives to

cloc

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

tokei and scc. 2 alternatives to cloc, in Rust, Go. Compare fit, licence, stars and the latest signed release.

Side by side

2 alternatives to cloc
ToolFitStarsLicenceTermsSelf-hostedLanguageLatestLast push
tokeiFull replacement15kOtherNot checkedNoRustv15.0.02026-09-06
sccFull replacement8.9kMITOpen sourceNoGov4.1.02026-11-23

Every alternative

Language
Licence
Terms

2 alternatives

sccFull replacement

Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go

Same per-language counts, faster, with complexity and COCOMO estimates on top.

Language
Go
Licence
MIT
Stars
8.9k
Latest
v4.1.0
Last push
2026-11-23

Head to head

About cloc

Language
Perl
Licence
GPL-2.0
Stars
24k
Last push
2026-11-18

About cloc →