opensearch-project/OpenSearch has 1,208,832 source lines of code out of 1,978,488 total lines across 10,662 files, counted with tokei from the main ref at commit 8b20d26bdb5b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 8b20d26bdb5b), opensearch-project/OpenSearch contains 1,978,488 total lines: 1,208,832 code, 535,683 comments, 233,973 blank, across 10,662 files in 18 languages (top language: Java 91.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving opensearch-project/OpenSearch to commit 8b20d26bdb5b, 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.
This is a very large codebase by counted code lines. Code represents 61.1% of all lines, comments represent 27.1%, and the repository averages 113 code lines per file. Java accounts for 91.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 9104 | 1702687 | 1108804 | 400051 | 193832 |
| Rust | 220 | 94855 | 78457 | 7513 | 8885 |
| JSON | 180 | 11345 | 11343 | 0 | 2 |
| YAML | 17 | 7785 | 5388 | 1784 | 613 |
| Groovy | 21 | 2833 | 1777 | 771 | 285 |
| Batch | 11 | 711 | 587 | 4 | 120 |
| TOML | 13 | 723 | 571 | 71 | 81 |
| BASH | 14 | 835 | 530 | 169 | 136 |
| XML | 4 | 477 | 434 | 38 | 5 |
| Shell | 8 | 681 | 396 | 199 | 86 |
| Forge Config | 7 | 143 | 137 | 0 | 6 |
| Thrift | 1 | 196 | 119 | 52 | 25 |
Top language: Java 91.7%. Generated on .
opensearch-project/OpenSearch: 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.
opensearch-project/OpenSearch has 1,208,832 lines of code, plus 535,683 comment lines and 233,973 blank lines, for 1,978,488 total lines at commit 8b20d26bdb5b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 8b20d26bdb5b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 8b20d26bdb5b on November 16, 2026.
Play the growth animation for opensearch-project/OpenSearch on this page — 1,208,832 code lines across 18 languages, counted by tokei.