# apache/zookeeper SLOC report

> apache/zookeeper: 110,589 code lines at commit 5dd643fbf8c9, counted with tokei-15.0.0 on 2026-11-09. Saved result 009e2bb47aa5033c08cdeb557b88868e8566a57ab1edb74e04ecbe1dc111fc4e.

Source: [apache/zookeeper on GitHub](https://github.com/apache/zookeeper) · counted commit [5dd643fbf8c9](https://github.com/apache/zookeeper/tree/5dd643fbf8c9cfec5b2fb00212235a5621abc6dd)

apache/zookeeper has 110,589 source lines of code out of 180,425 total lines across 861 files, counted with tokei from the master ref at commit 5dd643fbf8c9 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/zookeeper to commit 5dd643fbf8c9, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

apache/zookeeper: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 61.3% of all lines, comments represent 27.6%, and the repository averages 128 code lines per file. Java accounts for 54.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 487 | 98,396 | 59,664 | 27,160 | 11,572 |
| JSON | 4 | 13,416 | 13,415 | 0 | 1 |
| C | 16 | 13,496 | 10,699 | 1,410 | 1,387 |
| TSX | 74 | 6,715 | 4,875 | 1,285 | 555 |
| XML | 48 | 6,441 | 4,698 | 1,294 | 449 |
| C++ | 8 | 6,985 | 4,594 | 1,919 | 472 |
| C Header | 27 | 8,276 | 3,014 | 4,434 | 828 |
| TypeScript | 37 | 3,487 | 2,247 | 857 | 383 |
| Python | 24 | 3,317 | 2,240 | 424 | 653 |
| Perl | 3 | 1,434 | 1,202 | 53 | 179 |
| Shell | 18 | 1,397 | 725 | 516 | 156 |
| HTML | 8 | 936 | 685 | 97 | 154 |
| M4 | 3 | 951 | 590 | 297 | 64 |
| Automake | 10 | 856 | 422 | 224 | 210 |
| SVG | 3 | 419 | 365 | 54 | 0 |
| CSS | 2 | 343 | 263 | 50 | 30 |
| JavaScript | 5 | 406 | 241 | 127 | 38 |
| Forge Config | 7 | 1,439 | 237 | 819 | 383 |
| CMake | 2 | 347 | 220 | 88 | 39 |
| Batch | 8 | 227 | 83 | 104 | 40 |
| Autoconf | 1 | 157 | 62 | 48 | 47 |
| XSL | 1 | 24 | 24 | 0 | 0 |
| Dockerfile | 1 | 35 | 15 | 18 | 2 |
| YAML | 1 | 19 | 5 | 14 | 0 |
| Makefile | 1 | 21 | 4 | 13 | 4 |
| Markdown | 16 | 2,107 | 0 | 1,283 | 824 |
| Plain Text | 46 | 8,778 | 0 | 7,200 | 1,578 |

Top language: Java 54.0%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/apache/zookeeper/commit/5dd643fbf8c9cfec5b2fb00212235a5621abc6dd?reportId=009e2bb47aa5033c08cdeb557b88868e8566a57ab1edb74e04ecbe1dc111fc4e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/zookeeper/commit/5dd643fbf8c9cfec5b2fb00212235a5621abc6dd?reportId=009e2bb47aa5033c08cdeb557b88868e8566a57ab1edb74e04ecbe1dc111fc4e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

apache/zookeeper has 110,589 lines of code, plus 49,788 comment lines and 20,048 blank lines, for 180,425 total lines at commit 5dd643fbf8c9 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 5dd643fbf8c9, 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 5dd643fbf8c9 on November 9, 2026.

## Similar repository reports

- [processing/processing4](https://octocounts.com/github/processing/processing4) — Java, 112,652 code lines
- [undertow-io/undertow](https://octocounts.com/github/undertow-io/undertow) — Java, 113,013 code lines
- [Creators-of-Aeronautics/Simulated-Project](https://octocounts.com/github/Creators-of-Aeronautics/Simulated-Project) — Java, 106,895 code lines
- [TestPQC-SonarQube/signserver-ce](https://octocounts.com/github/TestPQC-SonarQube/signserver-ce) — Java, 106,430 code lines
- [apache/guacamole-client](https://octocounts.com/github/apache/guacamole-client) — Java, 106,144 code lines
- [apache/skywalking-java](https://octocounts.com/github/apache/skywalking-java) — Java, 105,284 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
