zsh-users/zsh has 121,846 source lines of code out of 163,977 total lines across 165 files, counted with tokei from the master ref at commit b13bbf2acadb on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-10 (commit b13bbf2acadb), zsh-users/zsh contains 163,977 total lines: 121,846 code, 27,451 comments, 14,680 blank, across 165 files in 13 languages (top language: C 91.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving zsh-users/zsh to commit b13bbf2acadb, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
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 | 148021 | 111014 | 24053 | 12954 |
| C Header | 11 | 7368 | 4942 | 1693 | 733 |
| Zsh | 16 | 3372 | 2481 | 560 | 331 |
| Shell | 9 | 1538 | 1195 | 206 | 137 |
| Autoconf | 7 | 1279 | 778 | 260 | 241 |
| 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 on .
zsh-users/zsh: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
zsh-users/zsh has 121,846 lines of code, plus 27,451 comment lines and 14,680 blank lines, for 163,977 total lines at commit b13bbf2acadb on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit b13bbf2acadb, 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 master at commit b13bbf2acadb on November 10, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for zsh-users/zsh on this page — 121,846 code lines across 13 languages, counted by tokei.