As of 2026-09-06 (commit d9c0c7e2cf8a), facebook/zstd contains 119,005 total lines: 76,962 code, 27,401 comments, 14,642 blank, across 249 files in 18 languages (top: C 76.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving facebook/zstd to commit d9c0c7e2cf8a, 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 64.7% of all lines, comments represent 23.0%, and the repository averages 309 code lines per file. C accounts for 76.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 89 | 82262 | 58651 | 13273 | 10338 |
| C Header | 88 | 25554 | 11669 | 11037 | 2848 |
| Visual Studio Project | 5 | 2207 | 2207 | 0 | 0 |
| Makefile | 18 | 2565 | 1738 | 331 | 496 |
| C++ | 5 | 1332 | 1055 | 180 | 97 |
| Python | 1 | 774 | 641 | 32 | 101 |
| GNU Style Assembly | 1 | 766 | 549 | 126 | 91 |
| Shell | 7 | 395 | 168 | 168 | 59 |
| Visual Studio Solution | 2 | 80 | 80 | 0 | 0 |
| Lua | 2 | 87 | 70 | 3 | 14 |
| Batch | 1 | 55 | 48 | 0 | 7 |
| YAML | 1 | 28 | 28 | 0 | 0 |
Top language (C 76.2%). Generated at .
facebook/zstd has 119,005 total lines, including 76,962 code lines, 27,401 comment lines, and 14,642 blank lines.
OctoCounts resolved the public GitHub repository to commit d9c0c7e2cf8a, 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 d9c0c7e2cf8a8bf9fb98d3bee546dcf8dc9ac59a at commit d9c0c7e2cf8a on 2026-09-06T05:43:52.706188620+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: