elastic/elasticsearch SLOC report

As of 2026-09-08 (commit 10a8dcf0fb4e), elastic/elasticsearch contains 2,723,905 total lines: 1,984,402 code, 414,457 comments, 325,046 blank, across 16,284 files in 24 languages (top: Java 96.0%). Counted with tokei via OctoCounts.

As of 2026-09-08 (commit 10a8dcf0fb4e), elastic/elasticsearch contains 2,723,905 total lines: 1,984,402 code, 414,457 comments, 325,046 blank, across 16,284 files in 24 languages (top: Java 96.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving elastic/elasticsearch to commit 10a8dcf0fb4e, 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 72.9% of all lines, comments represent 15.2%, and the repository averages 122 code lines per file. Java accounts for 96.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Java1446725423601905439331925304996
JSON7635210752093014
YAML1931160089191963718
XML125679551710755
Groovy3152354417301517
TOML11517736521001524
AsciiDoc171750131121418
Shell121422810440172
Batch257385772159
Python35804236889
SQL138673005616
BASH2748024913596

Top language (Java 96.0%). Generated at 2026-09-08T07:14:23.372407982+00:00.

Report FAQ

How many lines of code does elastic/elasticsearch have?

elastic/elasticsearch has 2,723,905 total lines, including 1,984,402 code lines, 414,457 comment lines, and 325,046 blank lines.

How was the elastic/elasticsearch line count measured?

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

What commit was counted for elastic/elasticsearch?

This OctoCounts report was generated from 10a8dcf0fb4e5c3757e26dfc777dc84dfc25fae3 at commit 10a8dcf0fb4e on 2026-09-08T07:14:23.372407982+00:00.

Similar repository reports

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