# apache/datafusion SLOC report

> As of 2026-07-16 (commit 95de3853415d), apache/datafusion contains 688,966 total lines: 541,542 code, 75,454 comments, 71,970 blank, across 1,960 files in 13 languages (top: Rust 96.7%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving apache/datafusion to commit 95de3853415d, 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 78.6% of all lines, comments represent 11.0%, and the repository averages 276 code lines per file. Rust accounts for 96.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,419 | 644,248 | 523,657 | 52,951 | 67,640 |
| JSON | 3 | 7,285 | 7,285 | 0 | 0 |
| Shell | 31 | 4,358 | 2,847 | 980 | 531 |
| TOML | 59 | 4,327 | 2,755 | 1,105 | 467 |
| SQL | 292 | 2,468 | 1,860 | 344 | 264 |
| Protocol Buffers | 2 | 2,371 | 1,848 | 151 | 372 |
| Python | 10 | 1,698 | 1,222 | 233 | 243 |
| 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 | 131 | 21,338 | 0 | 19,019 | 2,319 |

Top language (Rust 96.7%). Generated at 2026-07-16T17:18:23.539781433+00:00. Canonical report: https://octocounts.com/github/apache/datafusion

## Report FAQ

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

apache/datafusion has 688,966 total lines, including 541,542 code lines, 75,454 comment lines, and 71,970 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 95de3853415d, 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 95de3853415d on 2026-07-16T17:18:23.539781433+00:00.

## Similar repository reports

- [anza-xyz/agave](https://octocounts.com/github/anza-xyz/agave) — Rust, 534,450 code lines
- [Ansh-699/agave](https://octocounts.com/github/Ansh-699/agave) — Rust, 565,687 code lines
- [pnpm/pnpm](https://octocounts.com/github/pnpm/pnpm) — Rust, 503,524 code lines
- [ZSeven-W/openpencil](https://octocounts.com/github/ZSeven-W/openpencil) — Rust, 492,807 code lines
- [tursodatabase/turso](https://octocounts.com/github/tursodatabase/turso) — Rust, 489,257 code lines
- [pola-rs/polars](https://octocounts.com/github/pola-rs/polars) — Rust, 487,184 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
