# apache/Druid SLOC report

> As of 2026-08-29 (commit 9318bbee1a26), apache/Druid contains 1,188,976 total lines: 849,505 code, 223,537 comments, 115,934 blank, across 7,037 files in 25 languages (top: Java 76.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/Druid to commit 9318bbee1a26, 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.4% 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,955 | 947,684 | 645,479 | 200,759 | 101,446 |
| 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,590 | 20,294 | 2,493 | 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-29T16:00:21.938657603+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,976 total lines, including 849,505 code lines, 223,537 comment lines, and 115,934 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 9318bbee1a26, 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 9318bbee1a26 on 2026-08-29T16:00:21.938657603+00:00.

## Similar repository reports

- [apache/druid](https://octocounts.com/github/apache/druid) — Java, 849,185 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, 683,995 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)
