# facebook/zstd SLOC report

> facebook/zstd: 76,710 code lines at commit 01b7154f1172, counted with tokei-14.0.0 on 2026-10-18. Saved result c1fe1891f3600e559204b2e2d691e0cfcc0104d7bd70d52268a1446af67ce1a6.

facebook/zstd has 76,710 source lines of code out of 118,718 total lines across 250 files, counted from the 01b7154f1172432f8abe9b3bb9909e14a1176b7d ref at commit 01b7154f1172 by the OctoCounts tokei engine on 2026-10-18. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving facebook/zstd to commit 01b7154f1172, 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 64.6% of all lines, comments represent 23.1%, and the repository averages 307 code lines per file. C accounts for 76.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 89 | 81,916 | 58,376 | 13,249 | 10,291 |
| C Header | 89 | 25,612 | 11,692 | 11,066 | 2,854 |
| Visual Studio Project | 5 | 2,207 | 2,207 | 0 | 0 |
| Makefile | 18 | 2,565 | 1,738 | 331 | 496 |
| C++ | 5 | 1,332 | 1,055 | 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 |
| Swift | 1 | 36 | 27 | 7 | 2 |
| Autoconf | 1 | 17 | 12 | 3 | 2 |
| Dockerfile | 1 | 20 | 9 | 6 | 5 |
| CMake | 1 | 11 | 6 | 2 | 3 |
| ReScript | 2 | 4 | 4 | 0 | 0 |
| Markdown | 23 | 2,813 | 0 | 2,234 | 579 |

Top language (C 76.1%). Generated at 2026-10-18T21:23:20.874008393Z. Canonical report: https://octocounts.com/github/facebook/zstd/commit/01b7154f1172432f8abe9b3bb9909e14a1176b7d?reportId=c1fe1891f3600e559204b2e2d691e0cfcc0104d7bd70d52268a1446af67ce1a6&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/facebook/zstd/commit/01b7154f1172432f8abe9b3bb9909e14a1176b7d?reportId=c1fe1891f3600e559204b2e2d691e0cfcc0104d7bd70d52268a1446af67ce1a6&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does facebook/zstd have?

facebook/zstd has 118,718 total lines, including 76,710 code lines, 27,407 comment lines, and 14,601 blank lines.

### How was the facebook/zstd line count measured?

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

### What commit was counted for facebook/zstd?

This OctoCounts report was generated from 01b7154f1172432f8abe9b3bb9909e14a1176b7d at commit 01b7154f1172 on 2026-10-18T21:23:20.874008393Z.

## Similar repository reports

- [yindaz/DeepCompletionRelease](https://octocounts.com/github/yindaz/DeepCompletionRelease) — C, 76,454 code lines
- [emqx/neuron](https://octocounts.com/github/emqx/neuron) — C, 75,661 code lines
- [coreutils/coreutils](https://octocounts.com/github/coreutils/coreutils) — C, 77,819 code lines
- [mcu-tools/mcuboot](https://octocounts.com/github/mcu-tools/mcuboot) — C, 75,113 code lines
- [fyzugx/DEsk](https://octocounts.com/github/fyzugx/DEsk) — C, 79,465 code lines
- [KernelSU-Next/KernelSU-Next](https://octocounts.com/github/KernelSU-Next/KernelSU-Next) — C, 73,006 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
