# apache/beam SLOC report

> apache/beam: 1,281,152 code lines at commit 4af719674c4f, counted with tokei-15.0.0 on 2026-11-14. Saved result 7790742b9ba0eed2fc567064ccc608ac878c005a5cd2f91a2a71dc82fb29ef25.

apache/beam has 1,281,152 source lines of code out of 1,883,777 total lines across 9,773 files, counted with tokei from the master ref at commit 4af719674c4f on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/beam to commit 4af719674c4f, 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,596 | 456,087 | 348,356 | 48,367 | 59,364 |
| 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 |
| HCL | 94 | 5,315 | 2,964 | 1,735 | 616 |
| TSX | 16 | 2,772 | 2,121 | 419 | 232 |
| XML | 17 | 2,679 | 1,895 | 575 | 209 |
| Cython | 20 | 2,310 | 1,471 | 357 | 482 |
| Templ | 13 | 1,730 | 1,244 | 253 | 233 |
| Groovy | 13 | 1,464 | 972 | 325 | 167 |
| FreeMarker | 1 | 1,041 | 963 | 10 | 68 |
| Dockerfile | 32 | 1,814 | 749 | 767 | 298 |
| INI | 2 | 658 | 439 | 166 | 53 |
| CSS | 9 | 590 | 385 | 135 | 70 |
| HTML | 6 | 397 | 292 | 86 | 19 |
| SVG | 39 | 992 | 275 | 679 | 38 |
| TOML | 5 | 386 | 253 | 105 | 28 |
| JavaScript | 7 | 458 | 239 | 171 | 48 |
| Batch | 3 | 293 | 224 | 0 | 69 |
| Rust | 2 | 136 | 78 | 37 | 21 |
| C Header | 2 | 108 | 49 | 44 | 15 |
| Forge Config | 2 | 93 | 41 | 42 | 10 |
| C++ | 2 | 72 | 32 | 36 | 4 |
| Scala | 1 | 33 | 14 | 16 | 3 |
| Autoconf | 1 | 23 | 6 | 16 | 1 |
| Markdown | 503 | 38,613 | 0 | 29,915 | 8,698 |
| Plain Text | 67 | 24,498 | 0 | 18,070 | 6,428 |

Top language: Java 41.3%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/apache/beam/commit/4af719674c4fb2426b9f4be8a5ac10a60e45928f?reportId=7790742b9ba0eed2fc567064ccc608ac878c005a5cd2f91a2a71dc82fb29ef25&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/beam/commit/4af719674c4fb2426b9f4be8a5ac10a60e45928f?reportId=7790742b9ba0eed2fc567064ccc608ac878c005a5cd2f91a2a71dc82fb29ef25&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/beam have?

apache/beam has 1,281,152 lines of code, plus 391,666 comment lines and 210,959 blank lines, for 1,883,777 total lines at commit 4af719674c4f on November 14, 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 4af719674c4f, 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 4af719674c4f on November 14, 2026.

## Similar repository reports

- [apache/geode](https://octocounts.com/github/apache/geode) — Java, 1,340,229 code lines
- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,209,827 code lines
- [apache/flink](https://octocounts.com/github/apache/flink) — Java, 1,165,821 code lines
- [mycodedoesnotcompile2/jdownloader_mirror](https://octocounts.com/github/mycodedoesnotcompile2/jdownloader_mirror) — Java, 1,093,358 code lines
- [questdb/questdb](https://octocounts.com/github/questdb/questdb) — Java, 1,045,030 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 977,125 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)
