As of 2026-07-10 (commit 489436767786), zsh-users/zsh contains 163,772 total lines: 121,666 code, 27,442 comments, 14,664 blank, across 165 files in 13 languages (top: C 91.1%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving zsh-users/zsh to commit 489436767786, 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.
This is a large codebase by counted code lines. Code represents 74.3% of all lines, comments represent 16.8%, and the repository averages 737 code lines per file. C accounts for 91.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 91 | 147817 | 110843 | 24039 | 12935 |
| C Header | 11 | 7372 | 4942 | 1696 | 734 |
| Zsh | 16 | 3372 | 2481 | 560 | 331 |
| Shell | 9 | 1536 | 1193 | 206 | 137 |
| Autoconf | 7 | 1276 | 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-07-10T09:29:08.030219595+00:00.
zsh-users/zsh has 163,772 total lines, including 121,666 code lines, 27,442 comment lines, and 14,664 blank lines.
OctoCounts resolved the public GitHub repository to commit 489436767786, 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 489436767786 on 2026-07-10T09:29:08.030219595+00:00.