# apache/Beam SLOC report

> As of 2026-08-02 (commit 519667628944), apache/Beam contains 2,794,269 total lines: 2,064,680 code, 450,159 comments, 279,430 blank, across 12,347 files in 36 languages (top: Java 46.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/Beam to commit 519667628944, 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 very large codebase by counted code lines. Code represents 73.9% of all lines, comments represent 16.1%, and the repository averages 167 code lines per file. Java accounts for 46.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 6,757 | 1,376,288 | 960,102 | 258,316 | 157,870 |
| JSON | 129 | 400,309 | 400,306 | 0 | 3 |
| Python | 1,632 | 432,984 | 328,237 | 47,889 | 56,858 |
| Go | 1,100 | 284,243 | 215,393 | 37,112 | 31,738 |
| YAML | 744 | 62,171 | 49,923 | 10,826 | 1,422 |
| TypeScript | 149 | 46,685 | 30,879 | 14,095 | 1,711 |
| Dart | 536 | 44,316 | 29,745 | 9,624 | 4,947 |
| Jupyter Notebooks | 80 | 22,449 | 12,883 | 6,374 | 3,192 |
| Kotlin | 119 | 11,079 | 6,599 | 3,206 | 1,274 |
| Shell | 82 | 9,910 | 6,098 | 2,578 | 1,234 |
| SQL | 104 | 6,377 | 4,582 | 1,599 | 196 |
| Protocol Buffers | 28 | 8,813 | 4,184 | 3,416 | 1,213 |

Top language (Java 46.5%). Generated at 2026-08-02T16:46:06.666791584+00:00. Canonical report: https://octocounts.com/github/apache/Beam

## Report FAQ

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

apache/Beam has 2,794,269 total lines, including 2,064,680 code lines, 450,159 comment lines, and 279,430 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 519667628944, 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 519667628944 on 2026-08-02T16:46:06.666791584+00:00.

## Similar repository reports

- [NationalSecurityAgency/ghidra](https://octocounts.com/github/NationalSecurityAgency/ghidra) — Java, 2,139,363 code lines
- [nationalsecurityagency/ghidra](https://octocounts.com/github/nationalsecurityagency/ghidra) — Java, 2,439,956 code lines
- [apache/flink](https://octocounts.com/github/apache/flink) — Java, 2,495,277 code lines
- [apache/NiFi](https://octocounts.com/github/apache/NiFi) — Java, 1,296,874 code lines
- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,179,852 code lines
- [apache/hbase](https://octocounts.com/github/apache/hbase) — Java, 1,134,239 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)
