# BurntSushi/ripgrep SLOC report

> BurntSushi/ripgrep: 35,349 code lines at commit c1fc6a5eb8c9, counted with tokei-15.0.0 on 2026-11-13. Saved result 27ece3272f28802a8b3a8b31c45e712ffce4ef975cd0e3fe69eaf209bdd54903.

BurntSushi/ripgrep has 35,349 source lines of code out of 46,567 total lines across 128 files, counted with tokei from the c1fc6a5eb8c971fc43041d3df34cf8bd49f31032 ref at commit c1fc6a5eb8c9 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving BurntSushi/ripgrep to commit c1fc6a5eb8c9, 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

BurntSushi/ripgrep: tokei-15.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 medium-sized codebase by counted code lines. Code represents 75.9% of all lines, comments represent 13.5%, and the repository averages 276 code lines per file. Rust accounts for 92.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 81 | 38,160 | 32,649 | 1,935 | 3,576 |
| Python | 2 | 1,346 | 1,143 | 45 | 158 |
| YAML | 5 | 747 | 626 | 66 | 55 |
| TOML | 12 | 441 | 371 | 23 | 47 |
| Zsh | 1 | 691 | 364 | 239 | 88 |
| Shell | 4 | 175 | 134 | 23 | 18 |
| Fish | 1 | 31 | 22 | 5 | 4 |
| XML | 1 | 28 | 21 | 7 | 0 |
| Ruby | 1 | 23 | 19 | 0 | 4 |
| Markdown | 20 | 4,925 | 0 | 3,924 | 1,001 |

Top language: Rust 92.4%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/BurntSushi/ripgrep/commit/c1fc6a5eb8c971fc43041d3df34cf8bd49f31032?reportId=27ece3272f28802a8b3a8b31c45e712ffce4ef975cd0e3fe69eaf209bdd54903&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/BurntSushi/ripgrep/commit/c1fc6a5eb8c971fc43041d3df34cf8bd49f31032?reportId=27ece3272f28802a8b3a8b31c45e712ffce4ef975cd0e3fe69eaf209bdd54903&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 BurntSushi/ripgrep have?

BurntSushi/ripgrep has 35,349 lines of code, plus 6,267 comment lines and 4,951 blank lines, for 46,567 total lines at commit c1fc6a5eb8c9 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the BurntSushi/ripgrep line count measured?

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

### What commit was counted for BurntSushi/ripgrep?

This OctoCounts report was generated from c1fc6a5eb8c971fc43041d3df34cf8bd49f31032 at commit c1fc6a5eb8c9 on November 13, 2026.

## Similar repository reports

- [michaelshimeles/sketch](https://octocounts.com/github/michaelshimeles/sketch) — Rust, 35,467 code lines
- [Yean-Sec/StrikeAgent_Coder-Flash](https://octocounts.com/github/Yean-Sec/StrikeAgent_Coder-Flash) — Rust, 35,489 code lines
- [rwf2/Rocket](https://octocounts.com/github/rwf2/Rocket) — Rust, 35,529 code lines
- [lokus-ai/lokus](https://octocounts.com/github/lokus-ai/lokus) — Rust, 36,003 code lines
- [RyanCodrai/turbovec](https://octocounts.com/github/RyanCodrai/turbovec) — Rust, 34,699 code lines
- [Hoxiee/alacritty](https://octocounts.com/github/Hoxiee/alacritty) — Rust, 36,022 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)
- [ripgrep vs fd](https://octocounts.com/compare/ripgrep-vs-fd)
- [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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
