htop-dev/htop SLOC report

As of 2026-08-14 (commit 8da1d45fb5f8), htop-dev/htop contains 51,408 total lines: 38,802 code, 4,045 comments, 8,561 blank, across 299 files in 9 languages (top: C 81.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving htop-dev/htop to commit 8da1d45fb5f8, 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.

Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 75.5% of all lines, comments represent 7.9%, and the repository averages 130 code lines per file. C accounts for 81.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C132399603146723336160
C Header1518246490512442097
Autoconf210191002017
Lua16876071367
Automake15484751954
Shell4236209423
SVG111211200
M416325362
Markdown65370396141

Top language (C 81.1%). Generated at 2026-08-14T19:56:12.704335526+00:00.

Report FAQ

How many lines of code does htop-dev/htop have?

htop-dev/htop has 51,408 total lines, including 38,802 code lines, 4,045 comment lines, and 8,561 blank lines.

How was the htop-dev/htop line count measured?

OctoCounts resolved the public GitHub repository to commit 8da1d45fb5f8, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for htop-dev/htop?

This OctoCounts report was generated from main at commit 8da1d45fb5f8 on 2026-08-14T19:56:12.704335526+00:00.