# apache/druid SLOC report

> As of 2026-09-15 (commit e3f06eac3ec9), apache/druid contains 1,192,513 total lines: 851,543 code, 224,791 comments, 116,179 blank, across 7,071 files in 26 languages (top: Java 76.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

apache/druid has 851,543 source lines of code out of 1,192,513 total lines across 7,071 files, counted from the e3f06eac3ec902937f72caa31871cf97d5a1df12 ref at commit e3f06eac3ec9 by the OctoCounts tokei engine on 2026-09-15. 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 apache/druid to commit e3f06eac3ec9, 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.9%, and the repository averages 120 code lines per file. Java accounts for 76.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 5,975 | 950,574 | 647,070 | 201,862 | 101,642 |
| JSON | 45 | 73,204 | 73,155 | 0 | 49 |
| TSX | 373 | 63,206 | 51,396 | 6,791 | 5,019 |
| TypeScript | 225 | 41,244 | 32,963 | 4,835 | 3,446 |
| XML | 107 | 23,689 | 20,373 | 2,513 | 803 |
| YAML | 3 | 7,534 | 6,566 | 60 | 908 |
| Sass | 171 | 9,995 | 5,730 | 2,975 | 1,290 |
| 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 | 31 | 1,825 | 926 | 640 | 259 |

Top language (Java 76.0%). Generated at 2026-09-15T11:33:47.579953708+00:00. Canonical report: https://octocounts.com/github/apache/druid

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/druid/commit/e3f06eac3ec902937f72caa31871cf97d5a1df12?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

apache/druid has 1,192,513 total lines, including 851,543 code lines, 224,791 comment lines, and 116,179 blank lines.

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

OctoCounts resolved the public GitHub repository to commit e3f06eac3ec9, 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 e3f06eac3ec902937f72caa31871cf97d5a1df12 at commit e3f06eac3ec9 on 2026-09-15T11:33:47.579953708+00:00.

## Similar repository reports

- [apache/Druid](https://octocounts.com/github/apache/Druid) — Java, 851,530 code lines
- [mlflow/mlflow](https://octocounts.com/github/mlflow/mlflow) — Java, 841,842 code lines
- [apache/Pulsar](https://octocounts.com/github/apache/Pulsar) — Java, 778,641 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 944,399 code lines
- [dbeaver/dbeaver](https://octocounts.com/github/dbeaver/dbeaver) — Java, 683,995 code lines
- [mycodedoesnotcompile2/jdownloader_mirror](https://octocounts.com/github/mycodedoesnotcompile2/jdownloader_mirror) — Java, 1,047,731 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)
