BurntSushi/ripgrep SLOC report
As of 2026-08-16 (commit 3fce3b5bb023), BurntSushi/ripgrep contains 50,476 total lines: 38,529 code, 6,571 comments, 5,376 blank, across 139 files in 10 languages (top: Rust 92.8%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving BurntSushi/ripgrep to commit 3fce3b5bb023, 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 medium-sized codebase by counted code lines. Code represents 76.3% of all lines, comments represent 13.0%, and the repository averages 277 code lines per file. Rust accounts for 92.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Rust | 88 | 41839 | 35763 | 2120 | 3956 |
| Python | 2 | 1346 | 1143 | 45 | 158 |
| YAML | 5 | 765 | 642 | 66 | 57 |
| TOML | 13 | 478 | 407 | 22 | 49 |
| Zsh | 1 | 705 | 378 | 235 | 92 |
| 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 | 23 | 5086 | 0 | 4048 | 1038 |
Top language (Rust 92.8%). Generated at 2026-08-16T09:40:32.974146669+00:00.
Report FAQ
How many lines of code does BurntSushi/ripgrep have?
BurntSushi/ripgrep has 50,476 total lines, including 38,529 code lines, 6,571 comment lines, and 5,376 blank lines.
How was the BurntSushi/ripgrep line count measured?
OctoCounts resolved the public GitHub repository to commit 3fce3b5bb023, 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 master at commit 3fce3b5bb023 on 2026-08-16T09:40:32.974146669+00:00.