elastic/elasticsearch

elastic/elasticsearch has 3,368,978 source lines of code out of 4,688,278 total lines across 23,251 files, counted with tokei from the main ref at commit 90c621769707 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

elastic/elasticsearch: 3,368,978 code lines at commit 90c621769707, counted with tokei-15.0.0 on 2026-11-24. Saved result 08ae96432c28b9e41768b472b2a58f019af0e1c3365114e7b0fbd5ae2bac899b.

Source: elastic/elasticsearch on GitHub · counted commit 90c621769707

OctoCounts produced this report by resolving elastic/elasticsearch to commit 90c621769707, 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 71.9% of all lines, comments represent 17.2%, and the repository averages 145 code lines per file. Java accounts for 91.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Java2073141832683083058633936466274
C Header81885731278314598114761
JSON10226717667165011
C++377606952870163636836
Groovy69147331162913231781
YAML23713894109862106802
XML127125695711355
TOML11520636741006526
AsciiDoc171749129121437
Shell1419341215490229
Dockerfile476252814391
Batch2468652522139
SQL138673005616
Makefile245526910977
BASH27505266139100
Python23802654966
Forge Config3756609
Protocol Buffers291374014
JavaScript2383116
FreeMarker37700
Mustache15500
SVG14310
Markdown697395055301865
Plain Text94011728109635020931

Top language: Java 91.5%. Generated on .

Counting rules and retention

elastic/elasticsearch: 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 elastic/elasticsearch have?

elastic/elasticsearch has 3,368,978 lines of code, plus 804,284 comment lines and 515,016 blank lines, for 4,688,278 total lines at commit 90c621769707 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the elastic/elasticsearch line count measured?

OctoCounts resolved the public GitHub repository to commit 90c621769707, 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 main at commit 90c621769707 on November 24, 2026.

Similar repository reports

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

Play the growth animation for elastic/elasticsearch on this page — 3,368,978 code lines across 24 languages, counted by tokei.