# apache/beam SLOC report

> As of 2026-11-16 (commit 8ab5661c1e6c), apache/beam contains 1,884,988 total lines: 1,282,150 code, 391,731 comments, 211,107 blank, across 9,776 files in 35 languages (top language: Java 41.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

apache/beam has 1,282,150 source lines of code out of 1,884,988 total lines across 9,776 files, counted with tokei from the master ref at commit 8ab5661c1e6c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/beam to commit 8ab5661c1e6c, 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/beam: 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 very large codebase by counted code lines. Code represents 68.0% of all lines, comments represent 20.8%, and the repository averages 131 code lines per file. Java accounts for 41.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 4,534 | 823,338 | 529,450 | 204,703 | 89,185 |
| Python | 1,599 | 457,297 | 349,354 | 48,431 | 59,512 |
| Go | 1,014 | 283,174 | 215,869 | 36,244 | 31,061 |
| YAML | 719 | 59,652 | 48,787 | 9,679 | 1,186 |
| JSON | 92 | 39,253 | 39,250 | 0 | 3 |
| TypeScript | 133 | 43,303 | 28,267 | 13,636 | 1,400 |
| Dart | 481 | 37,568 | 24,569 | 8,647 | 4,352 |
| Jupyter Notebooks | 68 | 22,447 | 12,883 | 6,373 | 3,191 |
| Shell | 79 | 9,244 | 5,651 | 2,414 | 1,179 |
| Kotlin | 76 | 8,832 | 5,361 | 2,468 | 1,003 |
| SQL | 105 | 6,318 | 4,567 | 1,633 | 118 |
| Protocol Buffers | 19 | 8,086 | 3,436 | 3,543 | 1,107 |

Top language: Java 41.3%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/apache/beam

## Reproduce this report

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

## Report FAQ

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

apache/beam has 1,282,150 lines of code, plus 391,731 comment lines and 211,107 blank lines, for 1,884,988 total lines at commit 8ab5661c1e6c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 8ab5661c1e6c, 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/beam?

This OctoCounts report was generated from master at commit 8ab5661c1e6c on November 16, 2026.

## Similar repository reports

- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,208,832 code lines
- [mycodedoesnotcompile2/jdownloader_mirror](https://octocounts.com/github/mycodedoesnotcompile2/jdownloader_mirror) — Java, 1,088,592 code lines
- [questdb/questdb](https://octocounts.com/github/questdb/questdb) — Java, 1,037,564 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 969,178 code lines
- [apache/doris](https://octocounts.com/github/apache/doris) — Java, 1,794,764 code lines
- [apache/druid](https://octocounts.com/github/apache/druid) — Java, 875,253 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)
- [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)
