# apache/datafusion SLOC report

> apache/datafusion: 677,725 code lines at commit e12901dadfd4, counted with tokei-14.0.0 on 2026-10-22. Saved result 52a68f950ba459e7ee5bc65ab6bbb899182669d4b8c17bbd1dc8b608a9771a50.

apache/datafusion has 677,725 source lines of code out of 850,504 total lines across 2,156 files, counted from the main ref at commit e12901dadfd4 by the OctoCounts tokei engine on 2026-10-22. 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/datafusion to commit e12901dadfd4, 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 79.7% of all lines, comments represent 10.3%, and the repository averages 314 code lines per file. Rust accounts for 97.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,550 | 800,686 | 657,490 | 62,515 | 80,681 |
| JSON | 3 | 6,933 | 6,933 | 0 | 0 |
| Shell | 37 | 5,294 | 3,449 | 1,207 | 638 |
| SQL | 337 | 3,786 | 2,963 | 516 | 307 |
| TOML | 61 | 4,598 | 2,917 | 1,202 | 479 |
| Protocol Buffers | 2 | 2,617 | 1,990 | 235 | 392 |
| Python | 13 | 2,124 | 1,532 | 296 | 296 |
| JavaScript | 5 | 511 | 391 | 88 | 32 |
| Nix | 1 | 28 | 25 | 0 | 3 |
| BASH | 1 | 21 | 14 | 1 | 6 |
| HTML | 1 | 12 | 12 | 0 | 0 |
| Dockerfile | 1 | 34 | 9 | 16 | 9 |
| Markdown | 137 | 23,142 | 0 | 20,632 | 2,510 |
| Plain Text | 7 | 718 | 0 | 604 | 114 |

Top language (Rust 97.0%). Generated at 2026-10-22T05:42:47.180850781Z. Canonical report: https://octocounts.com/github/apache/datafusion/commit/e12901dadfd462231a093627449d3a7b51d45962?reportId=52a68f950ba459e7ee5bc65ab6bbb899182669d4b8c17bbd1dc8b608a9771a50&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/datafusion/commit/e12901dadfd462231a093627449d3a7b51d45962?reportId=52a68f950ba459e7ee5bc65ab6bbb899182669d4b8c17bbd1dc8b608a9771a50&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/datafusion have?

apache/datafusion has 850,504 total lines, including 677,725 code lines, 87,312 comment lines, and 85,467 blank lines.

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

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

This OctoCounts report was generated from main at commit e12901dadfd4 on 2026-10-22T05:42:47.180850781Z.

## Similar repository reports

- [rimio-ai/rimz](https://octocounts.com/github/rimio-ai/rimz) — Rust, 669,957 code lines
- [NVIDIA/OpenShell](https://octocounts.com/github/NVIDIA/OpenShell) — Rust, 661,288 code lines
- [obscuritylabs/Colossus](https://octocounts.com/github/obscuritylabs/Colossus) — Rust, 709,255 code lines
- [astral-sh/ruff](https://octocounts.com/github/astral-sh/ruff) — Rust, 644,215 code lines
- [tikv/tikv](https://octocounts.com/github/tikv/tikv) — Rust, 638,022 code lines
- [0xErwin1/dbflux](https://octocounts.com/github/0xErwin1/dbflux) — Rust, 720,849 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
