# opensearch-project/OpenSearch SLOC report

> As of 2026-08-26 (commit 93dab5c08383), opensearch-project/OpenSearch contains 1,935,089 total lines: 1,179,852 code, 524,946 comments, 230,291 blank, across 10,502 files in 18 languages (top: Java 91.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving opensearch-project/OpenSearch to commit 93dab5c08383, 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.0% of all lines, comments represent 27.1%, and the repository averages 112 code lines per file. Java accounts for 91.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 8,961 | 1,665,351 | 1,084,545 | 390,122 | 190,684 |
| Rust | 215 | 89,528 | 73,899 | 7,209 | 8,420 |
| JSON | 178 | 11,220 | 11,218 | 0 | 2 |
| YAML | 17 | 7,767 | 5,370 | 1,784 | 613 |
| Groovy | 22 | 3,043 | 1,893 | 839 | 311 |
| Batch | 11 | 723 | 596 | 4 | 123 |
| TOML | 13 | 713 | 568 | 65 | 80 |
| BASH | 14 | 835 | 530 | 169 | 136 |
| Shell | 8 | 684 | 399 | 199 | 86 |
| XML | 3 | 403 | 384 | 19 | 0 |
| Thrift | 1 | 196 | 119 | 52 | 25 |
| Dockerfile | 1 | 131 | 108 | 15 | 8 |

Top language (Java 91.9%). Generated at 2026-08-26T18:18:07.421499591+00:00. Canonical report: https://octocounts.com/github/opensearch-project/OpenSearch

## Report FAQ

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

opensearch-project/OpenSearch has 1,935,089 total lines, including 1,179,852 code lines, 524,946 comment lines, and 230,291 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 93dab5c08383, 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 93dab5c08383 on 2026-08-26T18:18:07.421499591+00:00.

## Similar repository reports

- [apache/hbase](https://octocounts.com/github/apache/hbase) — Java, 1,134,239 code lines
- [apache/NiFi](https://octocounts.com/github/apache/NiFi) — Java, 1,296,874 code lines
- [mycodedoesnotcompile2/jdownloader_mirror](https://octocounts.com/github/mycodedoesnotcompile2/jdownloader_mirror) — Java, 1,038,853 code lines
- [apache/lucene](https://octocounts.com/github/apache/lucene) — Java, 972,892 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 939,141 code lines
- [apache/solr](https://octocounts.com/github/apache/solr) — Java, 930,806 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
