# apache/druid SLOC report

> As of 2026-08-26 (commit 1ed7baae5cb8), apache/druid contains 1,188,413 total lines: 849,185 code, 223,335 comments, 115,893 blank, across 7,035 files in 25 languages (top: Java 76.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/druid to commit 1ed7baae5cb8, 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 large codebase by counted code lines. Code represents 71.5% of all lines, comments represent 18.8%, and the repository averages 121 code lines per file. Java accounts for 76.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 5,953 | 947,151 | 645,188 | 200,558 | 101,405 |
| JSON | 39 | 73,039 | 72,990 | 0 | 49 |
| TSX | 371 | 62,837 | 51,084 | 6,755 | 4,998 |
| TypeScript | 225 | 41,244 | 32,963 | 4,835 | 3,446 |
| XML | 106 | 23,560 | 20,265 | 2,492 | 803 |
| YAML | 3 | 7,731 | 6,765 | 60 | 906 |
| Sass | 170 | 9,927 | 5,688 | 2,958 | 1,281 |
| VB6/VBA | 4 | 6,107 | 5,585 | 0 | 522 |
| Python | 20 | 3,741 | 2,711 | 459 | 571 |
| TeX | 3 | 2,563 | 2,129 | 131 | 303 |
| JavaScript | 12 | 1,371 | 1,005 | 250 | 116 |
| Shell | 29 | 1,756 | 898 | 606 | 252 |

Top language (Java 76.0%). Generated at 2026-08-26T18:20:40.845192565+00:00. Canonical report: https://octocounts.com/github/apache/druid

## Report FAQ

### How many lines of code does apache/druid have?

apache/druid has 1,188,413 total lines, including 849,185 code lines, 223,335 comment lines, and 115,893 blank lines.

### How was the apache/druid line count measured?

OctoCounts resolved the public GitHub repository to commit 1ed7baae5cb8, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for apache/druid?

This OctoCounts report was generated from master at commit 1ed7baae5cb8 on 2026-08-26T18:20:40.845192565+00:00.

## Similar repository reports

- [apache/Druid](https://octocounts.com/github/apache/Druid) — Java, 849,505 code lines
- [apache/solr](https://octocounts.com/github/apache/solr) — Java, 930,806 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 939,141 code lines
- [apache/Pulsar](https://octocounts.com/github/apache/Pulsar) — Java, 733,213 code lines
- [apache/lucene](https://octocounts.com/github/apache/lucene) — Java, 972,892 code lines
- [dbeaver/dbeaver](https://octocounts.com/github/dbeaver/dbeaver) — Java, 693,651 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)
