# apache/datafusion SLOC report

> As of 2026-09-16 (commit 140c7c5a4cbd), apache/datafusion contains 797,375 total lines: 631,738 code, 83,859 comments, 81,778 blank, across 2,072 files in 13 languages (top: Rust 97.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

apache/datafusion has 631,738 source lines of code out of 797,375 total lines across 2,072 files, counted from the 140c7c5a4cbde4409a4d29a4c04032d618c3b8ce ref at commit 140c7c5a4cbd by the OctoCounts tokei engine on 2026-09-16. 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 140c7c5a4cbd, 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.2% of all lines, comments represent 10.5%, and the repository averages 305 code lines per file. Rust accounts for 97.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,511 | 749,998 | 613,023 | 59,701 | 77,274 |
| JSON | 3 | 6,872 | 6,872 | 0 | 0 |
| Shell | 32 | 4,597 | 2,987 | 1,052 | 558 |
| TOML | 60 | 4,487 | 2,839 | 1,187 | 461 |
| SQL | 306 | 3,498 | 2,795 | 410 | 293 |
| Protocol Buffers | 2 | 2,508 | 1,932 | 192 | 384 |
| Python | 10 | 1,696 | 1,222 | 233 | 241 |
| JavaScript | 3 | 89 | 33 | 51 | 5 |
| BASH | 1 | 21 | 14 | 1 | 6 |
| HTML | 1 | 12 | 12 | 0 | 0 |
| Dockerfile | 1 | 34 | 9 | 16 | 9 |
| Markdown | 135 | 22,845 | 0 | 20,412 | 2,433 |

Top language (Rust 97.0%). Generated at 2026-09-16T21:09:39.598039008+00:00. Canonical report: https://octocounts.com/github/apache/datafusion

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/datafusion/commit/140c7c5a4cbde4409a4d29a4c04032d618c3b8ce?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/datafusion have?

apache/datafusion has 797,375 total lines, including 631,738 code lines, 83,859 comment lines, and 81,778 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 140c7c5a4cbd, 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 140c7c5a4cbde4409a4d29a4c04032d618c3b8ce at commit 140c7c5a4cbd on 2026-09-16T21:09:39.598039008+00:00.

## Similar repository reports

- [tikv/tikv](https://octocounts.com/github/tikv/tikv) — Rust, 632,230 code lines
- [astral-sh/ruff](https://octocounts.com/github/astral-sh/ruff) — Rust, 619,747 code lines
- [brightwave-inc/tidebreak](https://octocounts.com/github/brightwave-inc/tidebreak) — Rust, 601,204 code lines
- [Helvesec/rmux](https://octocounts.com/github/Helvesec/rmux) — Rust, 679,010 code lines
- [biomejs/biome](https://octocounts.com/github/biomejs/biome) — Rust, 699,703 code lines
- [helvesec/rmux](https://octocounts.com/github/helvesec/rmux) — Rust, 550,102 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)
