# openjdk/jdk SLOC report

> As of 2026-09-14 (commit e20054271886), openjdk/jdk contains 9,112,413 total lines: 5,757,275 code, 2,548,776 comments, 806,362 blank, across 22,741 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,757,275 source lines of code out of 9,112,413 total lines across 22,741 files, counted from the e20054271886ef6c6649d10824444a3e5dc53e3a ref at commit e20054271886 by the OctoCounts tokei engine on 2026-09-14. 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 e20054271886, 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,020 | 4,368,560 | 2,227,715 | 1,720,933 | 419,912 |
| XML | 1,269 | 1,386,092 | 1,375,300 | 9,292 | 1,500 |
| C++ | 1,844 | 1,194,583 | 835,561 | 208,570 | 150,452 |
| GNU Style Assembly | 92 | 417,958 | 405,058 | 1,322 | 11,578 |
| C | 826 | 508,471 | 346,750 | 81,920 | 79,801 |
| C++ Header | 2,509 | 516,698 | 322,652 | 119,037 | 75,009 |
| C Header | 1,024 | 228,367 | 125,089 | 74,039 | 29,239 |
| Objective-C | 133 | 48,338 | 33,005 | 8,221 | 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-09-14T03:53:12.428457232+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/e20054271886ef6c6649d10824444a3e5dc53e3a?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,413 total lines, including 5,757,275 code lines, 2,548,776 comment lines, and 806,362 blank lines.

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

OctoCounts resolved the public GitHub repository to commit e20054271886, 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 e20054271886ef6c6649d10824444a3e5dc53e3a at commit e20054271886 on 2026-09-14T03:53:12.428457232+00:00.

## Similar repository reports

- [arsLan4k1390/Cherrygram](https://octocounts.com/github/arsLan4k1390/Cherrygram) — Java, 4,526,120 code lines
- [Ettacent/NimarkoGram](https://octocounts.com/github/Ettacent/NimarkoGram) — Java, 4,437,705 code lines
- [DrKLO/Telegram](https://octocounts.com/github/DrKLO/Telegram) — Java, 4,432,925 code lines
- [risin42/NagramX](https://octocounts.com/github/risin42/NagramX) — Java, 4,212,256 code lines
- [exteraless/exteraless](https://octocounts.com/github/exteraless/exteraless) — Java, 4,148,600 code lines
- [metasfresh/metasfresh](https://octocounts.com/github/metasfresh/metasfresh) — Java, 3,403,847 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)
