cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
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.
比較表
| ツール | スター | ライセンス | 利用条件 | セルフホスト | 言語 | 最新リリース | 最終プッシュ |
|---|---|---|---|---|---|---|---|
| cloc | 24k | GPL-2.0 | オープンソース | 不可 | Perl | v2.12 | 2026-11-18 |
| tokei | 15k | Other | 未確認 | 不可 | Rust | v15.0.0 | 2026-09-06 |
| onefetch | 12k | MIT | オープンソース | 不可 | Rust | 3.3.0 | 2026-11-23 |
| scc | 8.9k | MIT | オープンソース | 不可 | Go | v4.1.0 | 2026-11-23 |
| git-quick-stats | 7k | MIT | オープンソース | 不可 | Shell | 2.11.0 | 2026-04-18 |
| git-sizer | 4.1k | MIT | オープンソース | 不可 | Go | v1.6.0 | 2026-11-13 |
6件のツール
Count your code, quickly.
Command-line Git information tool
Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.
Compute various size metrics for a Git repository, flagging those that might cause problems