# opensearch-project/OpenSearch SLOC report

> opensearch-project/OpenSearch: 1,200,112 code lines at commit bf89f2202a7c, counted with tokei-14.0.0 on 2026-10-23. Saved result 8f40ece46ae9a5798eb7ae4d8e92b670ea51927313827b0afbf6923121aee6cd.

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.

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.

## Repository size insights

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 | 9,040 | 1,689,484 | 1,100,182 | 396,600 | 192,702 |
| Rust | 220 | 94,855 | 78,457 | 7,513 | 8,885 |
| JSON | 179 | 11,248 | 11,246 | 0 | 2 |
| YAML | 17 | 7,785 | 5,388 | 1,784 | 613 |
| Groovy | 21 | 2,833 | 1,777 | 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 |
| Dockerfile | 1 | 131 | 108 | 15 | 8 |
| Protocol Buffers | 5 | 115 | 99 | 0 | 16 |
| Python | 1 | 138 | 73 | 47 | 18 |
| FreeMarker | 3 | 9 | 9 | 0 | 0 |
| Markdown | 108 | 11,417 | 0 | 8,593 | 2,824 |
| Plain Text | 943 | 143,299 | 0 | 116,274 | 27,025 |

Top language (Java 91.7%). Generated at 2026-10-23T07:34:25.467661801Z. Canonical report: https://octocounts.com/github/opensearch-project/OpenSearch/commit/bf89f2202a7c9d7fff34b1cd54620c5642ac87ab?reportId=8f40ece46ae9a5798eb7ae4d8e92b670ea51927313827b0afbf6923121aee6cd&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/opensearch-project/OpenSearch/commit/bf89f2202a7c9d7fff34b1cd54620c5642ac87ab?reportId=8f40ece46ae9a5798eb7ae4d8e92b670ea51927313827b0afbf6923121aee6cd&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does opensearch-project/OpenSearch have?

opensearch-project/OpenSearch has 1,965,079 total lines, including 1,200,112 code lines, 532,130 comment lines, and 232,837 blank lines.

### How was the opensearch-project/OpenSearch line count measured?

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.

### What commit was counted for opensearch-project/OpenSearch?

This OctoCounts report was generated from main at commit bf89f2202a7c on 2026-10-23T07:34:25.467661801Z.

## Similar repository reports

- [mycodedoesnotcompile2/jdownloader_mirror](https://octocounts.com/github/mycodedoesnotcompile2/jdownloader_mirror) — Java, 1,069,750 code lines
- [questdb/questdb](https://octocounts.com/github/questdb/questdb) — Java, 996,228 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 964,335 code lines
- [mlflow/mlflow](https://octocounts.com/github/mlflow/mlflow) — Java, 1,512,558 code lines
- [apache/druid](https://octocounts.com/github/apache/druid) — Java, 869,488 code lines
- [dbeaver/dbeaver](https://octocounts.com/github/dbeaver/dbeaver) — Java, 735,573 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
