As of 2026-07-10 (commit e3dc0a85b703), madler/zlib contains 55,096 total lines: 37,658 code, 11,555 comments, 5,883 blank, across 166 files in 20 languages (top: C 42.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving madler/zlib to commit e3dc0a85b703, 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 medium-sized codebase by counted code lines. Code represents 68.3% of all lines, comments represent 21.0%, and the repository averages 227 code lines per file. C accounts for 42.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 40 | 23786 | 15905 | 5190 | 2691 |
| C Header | 31 | 16460 | 12511 | 3162 | 787 |
| CMake | 20 | 2185 | 1725 | 124 | 336 |
| Ada | 10 | 2841 | 1682 | 560 | 599 |
| Shell | 2 | 1463 | 1146 | 159 | 158 |
| Pascal | 4 | 1443 | 1016 | 216 | 211 |
| C# | 9 | 1615 | 879 | 506 | 230 |
| Autoconf | 11 | 1253 | 630 | 451 | 172 |
| C++ | 5 | 907 | 599 | 136 | 172 |
| HTML | 1 | 550 | 549 | 1 | 0 |
| GNU Style Assembly | 1 | 570 | 246 | 212 | 112 |
| Makefile | 8 | 378 | 236 | 33 | 109 |
Top language (C 42.2%). Generated at 2026-07-10T12:57:34.689323854+00:00.
madler/zlib has 55,096 total lines, including 37,658 code lines, 11,555 comment lines, and 5,883 blank lines.
OctoCounts resolved the public GitHub repository to commit e3dc0a85b703, 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 develop at commit e3dc0a85b703 on 2026-07-10T12:57:34.689323854+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: