As of 2026-07-25 (commit 53a78e36f996), apache/ZooKeeper contains 182,228 total lines: 112,044 code, 50,133 comments, 20,051 blank, across 867 files in 27 languages (top: Java 52.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/ZooKeeper to commit 53a78e36f996, 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 61.5% of all lines, comments represent 27.5%, and the repository averages 129 code lines per file. Java accounts for 52.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 487 | 97721 | 59310 | 26875 | 11536 |
| JSON | 4 | 15566 | 15565 | 0 | 1 |
| C | 16 | 13096 | 10437 | 1279 | 1380 |
| TSX | 73 | 6683 | 4863 | 1268 | 552 |
| XML | 48 | 6394 | 4641 | 1304 | 449 |
| C++ | 8 | 6985 | 4594 | 1919 | 472 |
| C Header | 27 | 8222 | 3012 | 4382 | 828 |
| TypeScript | 37 | 3491 | 2250 | 858 | 383 |
| Python | 24 | 3317 | 2240 | 424 | 653 |
| Perl | 3 | 1434 | 1202 | 53 | 179 |
| Shell | 18 | 1391 | 719 | 516 | 156 |
| HTML | 8 | 936 | 685 | 97 | 154 |
Top language (Java 52.9%). Generated at .
apache/ZooKeeper has 182,228 total lines, including 112,044 code lines, 50,133 comment lines, and 20,051 blank lines.
OctoCounts resolved the public GitHub repository to commit 53a78e36f996, 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 53a78e36f996 on 2026-07-25T21:10:29.293796367+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: