# facebook/zstd SLOC report

> As of 2026-08-27 (commit 0716f554df42), facebook/zstd contains 118,968 total lines: 76,948 code, 27,379 comments, 14,641 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 0716f554df42, 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.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 | 82,258 | 58,647 | 13,273 | 10,338 |
| C Header | 88 | 25,521 | 11,659 | 11,015 | 2,847 |
| 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 |

Top language (C 76.2%). Generated at 2026-08-27T07:58:55.551317262+00:00. Canonical report: https://octocounts.com/github/facebook/zstd

## Report FAQ

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

facebook/zstd has 118,968 total lines, including 76,948 code lines, 27,379 comment lines, and 14,641 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 0716f554df42, 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 dev at commit 0716f554df42 on 2026-08-27T07:58:55.551317262+00:00.

## Similar repository reports

- [ithewei/libhv](https://octocounts.com/github/ithewei/libhv) — C, 77,047 code lines
- [coreutils/coreutils](https://octocounts.com/github/coreutils/coreutils) — C, 76,792 code lines
- [JustVugg/colibri](https://octocounts.com/github/JustVugg/colibri) — C, 78,868 code lines
- [Distrotech/pixman](https://octocounts.com/github/Distrotech/pixman) — C, 72,773 code lines
- [linux-pam/linux-pam](https://octocounts.com/github/linux-pam/linux-pam) — C, 69,012 code lines
- [libsndfile/libsndfile](https://octocounts.com/github/libsndfile/libsndfile) — C, 67,137 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
