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.
madler/zlib: 37,814 code lines at commit 767c4c947852, counted with tokei-14.0.0 on 2026-10-16. Saved result 75f900c212dc35da7e2533ff29c2e8f86b6503113fecf9413def60ae175b6cec.
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 |
| MSBuild | 2 | 186 | 174 | 8 | 4 |
| Module-Definition | 1 | 104 | 97 | 7 | 0 |
| XML | 1 | 116 | 95 | 17 | 4 |
| Bazel | 2 | 143 | 91 | 40 | 12 |
| Visual Studio Solution | 2 | 43 | 42 | 0 | 1 |
| Automake | 1 | 46 | 35 | 0 | 11 |
| Markdown | 1 | 81 | 0 | 45 | 36 |
| Plain Text | 14 | 926 | 0 | 688 | 238 |
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.379937813Z.
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 20 languages, counted by tokei.