openjdk/jdk

openjdk/jdk has 5,725,967 source lines of code out of 9,096,681 total lines across 22,581 files, counted with tokei from the master ref at commit 78bf06f425a9 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-21 (commit 78bf06f425a9), openjdk/jdk contains 9,096,681 total lines: 5,725,967 code, 2,561,839 comments, 808,875 blank, across 22,581 files in 35 languages (top language: Java 39.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-21 (commit 78bf06f425a9), openjdk/jdk contains 9,096,681 total lines: 5,725,967 code, 2,561,839 comments, 808,875 blank, across 22,581 files in 35 languages (top language: Java 39.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving openjdk/jdk to commit 78bf06f425a9, 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.

Repository size insights

This is a very large codebase by counted code lines. Code represents 62.9% of all lines, comments represent 28.2%, and the repository averages 254 code lines per file. Java accounts for 39.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Java14029438083522319711728057420807
XML10761331609132175783221530
C++18541213816848957212359152500
GNU Style Assembly92417973405072132211579
C8165030723432568128878528
C++ Header252552978233260012074676436
C Header10272257961227177453528544
Objective-C133483333299082267117
Autoconf92924428565424255
M437207921656128301401
HTML7514480126091355516
XSL953584463330565

Top language: Java 39.0%. Generated on .

Counting rules and retention

openjdk/jdk: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does openjdk/jdk have?

openjdk/jdk has 5,725,967 lines of code, plus 2,561,839 comment lines and 808,875 blank lines, for 9,096,681 total lines at commit 78bf06f425a9 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the openjdk/jdk line count measured?

OctoCounts resolved the public GitHub repository to commit 78bf06f425a9, 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 78bf06f425a9 on November 21, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for openjdk/jdk on this page — 5,725,967 code lines across 35 languages, counted by tokei.