As of 2026-09-06 (commit c1fc6a5eb8c9), BurntSushi/ripgrep contains 46,567 total lines: 35,349 code, 6,267 comments, 4,951 blank, across 128 files in 10 languages (top: Rust 92.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving BurntSushi/ripgrep to commit c1fc6a5eb8c9, 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.
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 | 38160 | 32649 | 1935 | 3576 |
| Python | 2 | 1346 | 1143 | 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 | 4925 | 0 | 3924 | 1001 |
Top language (Rust 92.4%). Generated at 2026-09-06T01:06:19.362217591+00:00.
BurntSushi/ripgrep has 46,567 total lines, including 35,349 code lines, 6,267 comment lines, and 4,951 blank lines.
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.
This OctoCounts report was generated from c1fc6a5eb8c971fc43041d3df34cf8bd49f31032 at commit c1fc6a5eb8c9 on 2026-09-06T01:06:19.362217591+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: