# apache/ZooKeeper SLOC report

> 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.

## Repository size insights

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 | 97,721 | 59,310 | 26,875 | 11,536 |
| JSON | 4 | 15,566 | 15,565 | 0 | 1 |
| C | 16 | 13,096 | 10,437 | 1,279 | 1,380 |
| TSX | 73 | 6,683 | 4,863 | 1,268 | 552 |
| XML | 48 | 6,394 | 4,641 | 1,304 | 449 |
| C++ | 8 | 6,985 | 4,594 | 1,919 | 472 |
| C Header | 27 | 8,222 | 3,012 | 4,382 | 828 |
| TypeScript | 37 | 3,491 | 2,250 | 858 | 383 |
| Python | 24 | 3,317 | 2,240 | 424 | 653 |
| Perl | 3 | 1,434 | 1,202 | 53 | 179 |
| Shell | 18 | 1,391 | 719 | 516 | 156 |
| HTML | 8 | 936 | 685 | 97 | 154 |

Top language (Java 52.9%). Generated at 2026-07-25T21:10:29.293796367+00:00. Canonical report: https://octocounts.com/github/apache/ZooKeeper

## Report FAQ

### How many lines of code does apache/ZooKeeper have?

apache/ZooKeeper has 182,228 total lines, including 112,044 code lines, 50,133 comment lines, and 20,051 blank lines.

### How was the apache/ZooKeeper line count measured?

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.

### What commit was counted for apache/ZooKeeper?

This OctoCounts report was generated from master at commit 53a78e36f996 on 2026-07-25T21:10:29.293796367+00:00.

## Similar repository reports

- [WangSanPing/t3rik-erp](https://octocounts.com/github/WangSanPing/t3rik-erp) — Java, 111,581 code lines
- [processing/processing4](https://octocounts.com/github/processing/processing4) — Java, 112,583 code lines
- [andreknieriem/headunit-revived](https://octocounts.com/github/andreknieriem/headunit-revived) — Java, 116,720 code lines
- [apache/commons-lang](https://octocounts.com/github/apache/commons-lang) — Java, 116,833 code lines
- [864381832/xJavaFxTool](https://octocounts.com/github/864381832/xJavaFxTool) — Java, 106,924 code lines
- [HMCL-dev/HMCL](https://octocounts.com/github/HMCL-dev/HMCL) — Java, 123,022 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
