# rustfs/rustfs SLOC report

> As of 2026-10-25 (commit 7728eeab1a73), rustfs/rustfs contains 1,708,457 total lines: 1,491,066 code, 68,643 comments, 148,748 blank, across 2,270 files in 17 languages (top: Rust 94.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

rustfs/rustfs has 1,491,066 source lines of code out of 1,708,457 total lines across 2,270 files, counted from the main ref at commit 7728eeab1a73 by the OctoCounts tokei engine on 2026-10-25. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.

OctoCounts produced this report by resolving rustfs/rustfs to commit 7728eeab1a73, downloading the repository source archive, and counting files selected by the effective rules 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, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.

## Counting rules and retention

rustfs/rustfs: tokei-14.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 87.3% of all lines, comments represent 4.0%, and the repository averages 657 code lines per file. Rust accounts for 94.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,807 | 1,598,596 | 1,405,815 | 56,055 | 136,726 |
| Shell | 159 | 50,898 | 42,842 | 2,604 | 5,452 |
| Python | 82 | 35,354 | 31,791 | 326 | 3,237 |
| TOML | 59 | 5,226 | 3,888 | 942 | 396 |
| JSON | 9 | 2,408 | 2,408 | 0 | 0 |
| YAML | 27 | 2,420 | 2,058 | 288 | 74 |
| Protocol Buffers | 1 | 1,386 | 1,084 | 88 | 214 |
| Pan | 1 | 396 | 368 | 0 | 28 |
| Nix | 2 | 365 | 300 | 24 | 41 |
| Just | 1 | 258 | 205 | 12 | 41 |
| Dockerfile | 1 | 129 | 95 | 16 | 18 |
| RPM Specfile | 1 | 130 | 95 | 3 | 32 |

Top language (Rust 94.3%). Generated at 2026-10-25T13:31:39.223890517+00:00. Canonical report: https://octocounts.com/github/rustfs/rustfs

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/rustfs/rustfs/commit/7728eeab1a73454dc799f17b0c67d203a53d46ba?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&reportId=897d3794b499d6f7a9576358102fd7b443d706b35c0005f677990f3031a6fb95).

## Report FAQ

### How many lines of code does rustfs/rustfs have?

rustfs/rustfs has 1,708,457 total lines, including 1,491,066 code lines, 68,643 comment lines, and 148,748 blank lines.

### How was the rustfs/rustfs line count measured?

OctoCounts resolved the public GitHub repository to commit 7728eeab1a73, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for rustfs/rustfs?

This OctoCounts report was generated from main at commit 7728eeab1a73 on 2026-10-25T13:31:39.223890517+00:00.

## Similar repository reports

- [openinterpreter/openinterpreter](https://octocounts.com/github/openinterpreter/openinterpreter) — Rust, 1,492,564 code lines
- [nautechsystems/nautilus_trader](https://octocounts.com/github/nautechsystems/nautilus_trader) — Rust, 1,529,686 code lines
- [zed-industries/zed](https://octocounts.com/github/zed-industries/zed) — Rust, 1,532,086 code lines
- [warpdotdev/warp](https://octocounts.com/github/warpdotdev/warp) — Rust, 1,544,450 code lines
- [jlcodes99/cockpit-tools](https://octocounts.com/github/jlcodes99/cockpit-tools) — Rust, 1,434,056 code lines
- [t8y2/dbx](https://octocounts.com/github/t8y2/dbx) — Rust, 1,426,074 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)
