# microsoft/tgrep SLOC report

> As of 2026-10-22 (commit d25ade642cd0), microsoft/tgrep contains 102,930 total lines: 88,173 code, 7,958 comments, 6,799 blank, across 130 files in 11 languages (top: Rust 91.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

microsoft/tgrep has 88,173 source lines of code out of 102,930 total lines across 130 files, counted from the main ref at commit d25ade642cd0 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving microsoft/tgrep to commit d25ade642cd0, 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 85.7% of all lines, comments represent 7.7%, and the repository averages 678 code lines per file. Rust accounts for 91.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 85 | 88,422 | 80,400 | 2,920 | 5,102 |
| Python | 16 | 6,762 | 6,044 | 95 | 623 |
| JSON | 6 | 586 | 586 | 0 | 0 |
| Shell | 4 | 622 | 518 | 37 | 67 |
| PowerShell | 2 | 367 | 269 | 60 | 38 |
| TOML | 4 | 174 | 147 | 1 | 26 |
| TypeScript | 1 | 129 | 117 | 5 | 7 |
| JavaScript | 1 | 56 | 47 | 8 | 1 |
| Makefile | 1 | 35 | 25 | 0 | 10 |
| BASH | 1 | 27 | 20 | 3 | 4 |
| Markdown | 9 | 5,750 | 0 | 4,829 | 921 |

Top language (Rust 91.2%). Generated at 2026-10-22T21:35:53.845729717+00:00. Canonical report: https://octocounts.com/github/microsoft/tgrep

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/microsoft/tgrep/commit/d25ade642cd0a34537cc0791a0abbac57ccbf6f9?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=57d97e52702e38e72a6b7f22cc3c19d834d47ffbb11ee601fb4c5faf47f6490f).

## Report FAQ

### How many lines of code does microsoft/tgrep have?

microsoft/tgrep has 102,930 total lines, including 88,173 code lines, 7,958 comment lines, and 6,799 blank lines.

### How was the microsoft/tgrep line count measured?

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

### What commit was counted for microsoft/tgrep?

This OctoCounts report was generated from main at commit d25ade642cd0 on 2026-10-22T21:35:53.845729717+00:00.

## Similar repository reports

- [SimoHypers/limusic](https://octocounts.com/github/SimoHypers/limusic) — Rust, 88,105 code lines
- [yynxxxxx/Codex-X](https://octocounts.com/github/yynxxxxx/Codex-X) — Rust, 89,557 code lines
- [rmqtt/rmqtt](https://octocounts.com/github/rmqtt/rmqtt) — Rust, 86,505 code lines
- [3899/SimAdmin](https://octocounts.com/github/3899/SimAdmin) — Rust, 85,692 code lines
- [Miaoyww/NonsPlayer](https://octocounts.com/github/Miaoyww/NonsPlayer) — Rust, 91,273 code lines
- [170-carry/codex-tools](https://octocounts.com/github/170-carry/codex-tools) — Rust, 83,812 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)
