opensearch-project/OpenSearch has 1,200,112 source lines of code out of 1,965,079 total lines across 10,596 files, counted from the main ref at commit bf89f2202a7c by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-23 (commit bf89f2202a7c), opensearch-project/OpenSearch contains 1,965,079 total lines: 1,200,112 code, 532,130 comments, 232,837 blank, across 10,596 files in 18 languages (top: Java 91.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving opensearch-project/OpenSearch to commit bf89f2202a7c, 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.
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 | 9040 | 1689484 | 1100182 | 396600 | 192702 |
| Rust | 220 | 94855 | 78457 | 7513 | 8885 |
| JSON | 179 | 11248 | 11246 | 0 | 2 |
| YAML | 17 | 7785 | 5388 | 1784 | 613 |
| Groovy | 21 | 2833 | 1777 | 771 | 285 |
| Batch | 11 | 711 | 587 | 4 | 120 |
| TOML | 13 | 722 | 570 | 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 at .
opensearch-project/OpenSearch has 1,965,079 total lines, including 1,200,112 code lines, 532,130 comment lines, and 232,837 blank lines.
OctoCounts resolved the public GitHub repository to commit bf89f2202a7c, 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 bf89f2202a7c on 2026-10-23T07:34:25.467661801+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for opensearch-project/OpenSearch on this page — 1,200,112 code lines across 12 languages, counted by tokei.