madler/zlib has 37,814 source lines of code out of 55,284 total lines across 166 files, counted from the 767c4c947852e143f582c85f14cf573411df1b35 ref at commit 767c4c947852 by the OctoCounts tokei engine on 2026-10-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-16 (commit 767c4c947852), madler/zlib contains 55,284 total lines: 37,814 code, 11,570 comments, 5,900 blank, across 166 files in 20 languages (top: C 42.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving madler/zlib to commit 767c4c947852, 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.4% of all lines, comments represent 20.9%, and the repository averages 228 code lines per file. C accounts for 42.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 40 | 23825 | 15940 | 5193 | 2692 |
| C Header | 31 | 16483 | 12529 | 3165 | 789 |
| CMake | 20 | 2311 | 1828 | 133 | 350 |
| 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 .
madler/zlib has 55,284 total lines, including 37,814 code lines, 11,570 comment lines, and 5,900 blank lines.
OctoCounts resolved the public GitHub repository to commit 767c4c947852, 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 767c4c947852e143f582c85f14cf573411df1b35 at commit 767c4c947852 on 2026-10-16T05:01:49.379937813+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for madler/zlib on this page — 37,814 code lines across 12 languages, counted by tokei.