htop-dev/htop has 39,420 source lines of code out of 52,241 total lines across 299 files, counted from the main ref at commit 394b4a3fc0df by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
htop-dev/htop: 39,420 code lines at commit 394b4a3fc0df, counted with tokei-14.0.0 on 2026-10-20. Saved result d987ad8677c57b680d248aa84b93183b33b72ab17201db5948ef6467db11d0b5.
OctoCounts produced this report by resolving htop-dev/htop to commit 394b4a3fc0df, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a medium-sized codebase by counted code lines. Code represents 75.5% of all lines, comments represent 8.0%, and the repository averages 132 code lines per file. C accounts for 81.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 132 | 40605 | 31933 | 2424 | 6248 |
| C Header | 151 | 8336 | 4959 | 1262 | 2115 |
| Autoconf | 2 | 1117 | 1100 | 0 | 17 |
| Lua | 1 | 687 | 607 | 13 | 67 |
| Automake | 1 | 548 | 475 | 19 | 54 |
| Shell | 4 | 236 | 209 | 4 | 23 |
| SVG | 1 | 112 | 112 | 0 | 0 |
| M4 | 1 | 63 | 25 | 36 | 2 |
| Markdown | 6 | 537 | 0 | 396 | 141 |
Top language (C 81.0%). Generated at .
htop-dev/htop has 52,241 total lines, including 39,420 code lines, 4,154 comment lines, and 8,667 blank lines.
OctoCounts resolved the public GitHub repository to commit 394b4a3fc0df, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 394b4a3fc0df on 2026-10-20T00:43:08.763492776Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for htop-dev/htop on this page — 39,420 code lines across 9 languages, counted by tokei.