# openjdk/jdk SLOC report

> As of 2026-10-06 (commit 054dbd7b6a64), openjdk/jdk contains 9,112,290 total lines: 5,756,480 code, 2,550,238 comments, 805,572 blank, across 22,744 files in 35 languages (top: Java 38.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

openjdk/jdk has 5,756,480 source lines of code out of 9,112,290 total lines across 22,744 files, counted from the master ref at commit 054dbd7b6a64 by the OctoCounts tokei engine on 2026-10-06. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving openjdk/jdk to commit 054dbd7b6a64, 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 63.2% of all lines, comments represent 28.0%, and the repository averages 253 code lines per file. Java accounts for 38.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 14,024 | 4,371,496 | 2,229,255 | 1,722,060 | 420,181 |
| XML | 1,269 | 1,386,090 | 1,375,298 | 9,292 | 1,500 |
| C++ | 1,846 | 1,196,965 | 837,161 | 209,097 | 150,707 |
| GNU Style Assembly | 92 | 417,958 | 405,058 | 1,322 | 11,578 |
| C | 820 | 502,697 | 342,805 | 81,418 | 78,474 |
| C++ Header | 2,512 | 517,105 | 322,745 | 119,327 | 75,033 |
| C Header | 1,024 | 228,227 | 124,963 | 74,038 | 29,226 |
| Objective-C | 133 | 48,347 | 33,008 | 8,227 | 7,112 |
| Autoconf | 9 | 29,244 | 28,565 | 424 | 255 |
| M4 | 37 | 20,705 | 16,483 | 2,828 | 1,394 |
| HTML | 75 | 14,480 | 12,609 | 1,355 | 516 |
| XSL | 9 | 5,367 | 4,473 | 329 | 565 |

Top language (Java 38.7%). Generated at 2026-10-06T18:24:16.167735675+00:00. Canonical report: https://octocounts.com/github/openjdk/jdk

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/openjdk/jdk/commit/054dbd7b6a64c5fd6c3885e5bd1ade03bc80bc9a?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).

## Report FAQ

### How many lines of code does openjdk/jdk have?

openjdk/jdk has 9,112,290 total lines, including 5,756,480 code lines, 2,550,238 comment lines, and 805,572 blank lines.

### How was the openjdk/jdk line count measured?

OctoCounts resolved the public GitHub repository to commit 054dbd7b6a64, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for openjdk/jdk?

This OctoCounts report was generated from master at commit 054dbd7b6a64 on 2026-10-06T18:24:16.167735675+00:00.

## Similar repository reports

- [microsoft/openjdk-jdk25u](https://octocounts.com/github/microsoft/openjdk-jdk25u) — Java, 5,613,671 code lines
- [exteraless/exteraless](https://octocounts.com/github/exteraless/exteraless) — Java, 3,853,583 code lines
- [metasfresh/metasfresh](https://octocounts.com/github/metasfresh/metasfresh) — Java, 3,438,379 code lines
- [elastic/elasticsearch](https://octocounts.com/github/elastic/elasticsearch) — Java, 3,182,875 code lines
- [Ettacent/NimarkoGram](https://octocounts.com/github/Ettacent/NimarkoGram) — Java, 2,689,168 code lines
- [arsLan4k1390/Cherrygram](https://octocounts.com/github/arsLan4k1390/Cherrygram) — Java, 2,560,682 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)
- [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)
