# apache/doris SLOC report

> apache/doris: 1,779,992 code lines at commit f1fd1b432fb4, counted with tokei-14.0.0 on 2026-10-24. Saved result 3655208328b0eca8f2c8c45dcfc3d57806bf500c3f85b2ae0eb6dc741fb8d773.

apache/doris has 1,779,992 source lines of code out of 2,979,209 total lines across 11,697 files, counted from the f1fd1b432fb4df3089c31e84cdfb6b4cccfe1999 ref at commit f1fd1b432fb4 by the OctoCounts tokei engine on 2026-10-24. 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/doris to commit f1fd1b432fb4, 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 59.7% of all lines, comments represent 31.2%, and the repository averages 152 code lines per file. Java accounts for 44.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 5,810 | 1,132,731 | 784,571 | 227,770 | 120,390 |
| C++ | 1,621 | 627,103 | 505,392 | 61,489 | 60,222 |
| C Header | 2,038 | 342,763 | 222,334 | 69,225 | 51,204 |
| Python | 287 | 128,339 | 106,825 | 8,638 | 12,876 |
| SQL | 715 | 45,346 | 40,076 | 3,386 | 1,884 |
| Shell | 321 | 39,350 | 26,777 | 7,650 | 4,923 |
| JSON | 128 | 23,092 | 23,090 | 0 | 2 |
| C++ Header | 68 | 22,618 | 17,369 | 2,847 | 2,402 |
| XML | 159 | 24,932 | 16,769 | 7,321 | 842 |
| Thrift | 27 | 12,847 | 8,518 | 2,794 | 1,535 |
| Protocol Buffers | 13 | 6,122 | 4,441 | 917 | 764 |
| C | 63 | 5,433 | 3,922 | 1,065 | 446 |
| TypeScript | 54 | 5,147 | 3,741 | 909 | 497 |
| TSX | 29 | 4,172 | 3,380 | 481 | 311 |
| CMake | 39 | 4,330 | 2,579 | 1,211 | 540 |
| Pan | 33 | 3,104 | 2,170 | 766 | 168 |
| Go | 15 | 1,987 | 1,451 | 294 | 242 |
| YAML | 16 | 2,155 | 1,407 | 584 | 164 |
| Perl | 2 | 1,737 | 1,333 | 275 | 129 |
| R | 1 | 1,149 | 1,149 | 0 | 0 |
| CSS | 2 | 608 | 520 | 47 | 41 |
| Ruby | 3 | 602 | 413 | 102 | 87 |
| Dockerfile | 9 | 768 | 342 | 311 | 115 |
| BASH | 3 | 398 | 270 | 71 | 57 |
| Happy | 1 | 230 | 207 | 0 | 23 |
| JavaScript | 3 | 298 | 199 | 81 | 18 |
| Makefile | 9 | 425 | 187 | 164 | 74 |
| SVG | 5 | 85 | 84 | 1 | 0 |
| PHP | 1 | 99 | 78 | 8 | 13 |
| Mustache | 3 | 136 | 76 | 54 | 6 |
| GNU Style Assembly | 4 | 72 | 69 | 2 | 1 |
| INI | 5 | 163 | 58 | 88 | 17 |
| Scala | 1 | 116 | 56 | 45 | 15 |
| Rust | 1 | 63 | 39 | 16 | 8 |
| Lex | 1 | 71 | 38 | 19 | 14 |
| HTML | 2 | 58 | 20 | 37 | 1 |
| Autoconf | 2 | 45 | 19 | 20 | 6 |
| TOML | 1 | 33 | 13 | 17 | 3 |
| Forge Config | 1 | 36 | 5 | 25 | 6 |
| Rakefile | 1 | 25 | 5 | 18 | 2 |
| Markdown | 122 | 14,186 | 0 | 10,949 | 3,237 |
| Plain Text | 78 | 526,235 | 0 | 519,482 | 6,753 |

Top language (Java 44.1%). Generated at 2026-10-24T19:06:15.071623245Z. Canonical report: https://octocounts.com/github/apache/doris/commit/f1fd1b432fb4df3089c31e84cdfb6b4cccfe1999?reportId=3655208328b0eca8f2c8c45dcfc3d57806bf500c3f85b2ae0eb6dc741fb8d773&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/apache/doris/commit/f1fd1b432fb4df3089c31e84cdfb6b4cccfe1999?reportId=3655208328b0eca8f2c8c45dcfc3d57806bf500c3f85b2ae0eb6dc741fb8d773&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 apache/doris have?

apache/doris has 2,979,209 total lines, including 1,779,992 code lines, 929,179 comment lines, and 270,038 blank lines.

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

OctoCounts resolved the public GitHub repository to commit f1fd1b432fb4, 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/doris?

This OctoCounts report was generated from f1fd1b432fb4df3089c31e84cdfb6b4cccfe1999 at commit f1fd1b432fb4 on 2026-10-24T19:06:15.071623245Z.

## Similar repository reports

- [mlflow/mlflow](https://octocounts.com/github/mlflow/mlflow) — Java, 1,515,365 code lines
- [nationalsecurityagency/ghidra](https://octocounts.com/github/nationalsecurityagency/ghidra) — Java, 2,157,472 code lines
- [NationalSecurityAgency/ghidra](https://octocounts.com/github/NationalSecurityAgency/ghidra) — Java, 2,159,256 code lines
- [DrKLO/Telegram](https://octocounts.com/github/DrKLO/Telegram) — Java, 2,496,884 code lines
- [arsLan4k1390/Cherrygram](https://octocounts.com/github/arsLan4k1390/Cherrygram) — Java, 2,560,682 code lines
- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,200,112 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)
