← back

category

Code and repository statistics

Count the lines of code, comments and blanks in a codebase by language, and summarise a git repository's contributors, activity and size.

Side by side

Code and repository statistics
ToolStarsLicenceTermsSelf-hostedLanguageLatestLast push
cloc24kGPL-2.0Open sourceNoPerlv2.122026-11-18
tokei15kOtherNot checkedNoRustv15.0.02026-09-06
onefetch12kMITOpen sourceNoRust3.3.02026-11-23
scc8.9kMITOpen sourceNoGov4.1.02026-11-23
git-quick-stats7kMITOpen sourceNoShell2.11.02026-04-18
git-sizer4.1kMITOpen sourceNoGov1.6.02026-11-13

6 tools

cloc

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

Language
Perl
Licence
GPL-2.0
Stars
24k
Latest
v2.12
Last push
2026-11-18
onefetch

Command-line Git information tool

Language
Rust
Licence
MIT
Stars
12k
Latest
3.3.0
Last push
2026-11-23
scc

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

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

▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.

Language
Shell
Licence
MIT
Stars
7k
Latest
2.11.0
Last push
2026-04-18
git-sizer

Compute various size metrics for a Git repository, flagging those that might cause problems

Language
Go
Licence
MIT
Stars
4.1k
Latest
v1.6.0
Last push
2026-11-13

What these tools replace