# zsh-users/zsh SLOC report

> As of 2026-09-16 (commit 975572f5c32f), zsh-users/zsh contains 163,838 total lines: 121,730 code, 27,438 comments, 14,670 blank, across 165 files in 13 languages (top: C 91.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

zsh-users/zsh has 121,730 source lines of code out of 163,838 total lines across 165 files, counted from the 975572f5c32f15ef078a678d9ed05c4be4e64822 ref at commit 975572f5c32f by the OctoCounts tokei engine on 2026-09-16. 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 zsh-users/zsh to commit 975572f5c32f, 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 large codebase by counted code lines. Code represents 74.3% of all lines, comments represent 16.7%, and the repository averages 738 code lines per file. C accounts for 91.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 91 | 147,888 | 110,908 | 24,038 | 12,942 |
| C Header | 11 | 7,367 | 4,941 | 1,693 | 733 |
| Zsh | 16 | 3,372 | 2,481 | 560 | 331 |
| Shell | 9 | 1,536 | 1,193 | 206 | 137 |
| Autoconf | 7 | 1,276 | 771 | 262 | 243 |
| M4 | 3 | 750 | 446 | 252 | 52 |
| Perl | 4 | 471 | 359 | 18 | 94 |
| AWK | 6 | 375 | 291 | 61 | 23 |
| Vim Script | 3 | 255 | 187 | 44 | 24 |
| Korn shell | 1 | 102 | 95 | 5 | 2 |
| Makefile | 3 | 116 | 30 | 77 | 9 |
| D | 2 | 33 | 28 | 0 | 5 |

Top language (C 91.1%). Generated at 2026-09-16T11:48:28.367325142+00:00. Canonical report: https://octocounts.com/github/zsh-users/zsh

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/zsh-users/zsh/commit/975572f5c32f15ef078a678d9ed05c4be4e64822?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does zsh-users/zsh have?

zsh-users/zsh has 163,838 total lines, including 121,730 code lines, 27,438 comment lines, and 14,670 blank lines.

### How was the zsh-users/zsh line count measured?

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

### What commit was counted for zsh-users/zsh?

This OctoCounts report was generated from 975572f5c32f15ef078a678d9ed05c4be4e64822 at commit 975572f5c32f on 2026-09-16T11:48:28.367325142+00:00.

## Similar repository reports

- [lucasg/dependencies](https://octocounts.com/github/lucasg/dependencies) — C, 121,522 code lines
- [Distrotech/gawk](https://octocounts.com/github/Distrotech/gawk) — C, 121,433 code lines
- [erincatto/box3d](https://octocounts.com/github/erincatto/box3d) — C, 123,364 code lines
- [Damme/LandLord](https://octocounts.com/github/Damme/LandLord) — C, 124,790 code lines
- [Distrotech/grep](https://octocounts.com/github/Distrotech/grep) — C, 125,530 code lines
- [OwnGoalStudio/Relaxin](https://octocounts.com/github/OwnGoalStudio/Relaxin) — C, 126,643 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)
