# zsh-users/zsh SLOC report

> As of 2026-09-28 (commit 8cc5eade5ff8), 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 master ref at commit 8cc5eade5ff8 by the OctoCounts tokei engine on 2026-09-28. 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 8cc5eade5ff8, 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-28T17:00:19.250122508+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/8cc5eade5ff80de1dca7bd27509eddca4f849f29?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 8cc5eade5ff8, 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 master at commit 8cc5eade5ff8 on 2026-09-28T17:00:19.250122508+00:00.

## Similar repository reports

- [lucasg/Dependencies](https://octocounts.com/github/lucasg/Dependencies) — C, 121,522 code lines
- [fastfetch-cli/fastfetch](https://octocounts.com/github/fastfetch-cli/fastfetch) — C, 124,910 code lines
- [Distrotech/grep](https://octocounts.com/github/Distrotech/grep) — C, 125,530 code lines
- [owngoal-dev/Relaxin](https://octocounts.com/github/owngoal-dev/Relaxin) — C, 126,237 code lines
- [tmux/tmux](https://octocounts.com/github/tmux/tmux) — C, 116,320 code lines
- [emuzulu/isEven](https://octocounts.com/github/emuzulu/isEven) — C, 130,134 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)
