# microsoft/tgrep SLOC report

> microsoft/tgrep: 91,166 code lines at commit e9a2aea4dc77, counted with tokei-15.0.0 on 2026-11-13. Saved result 1e17c2b4875dabfd27d35ac9d9218ed64b8b453f5c459c569c337f3f6459e544.

microsoft/tgrep has 91,166 source lines of code out of 106,450 total lines across 130 files, counted with tokei from the main ref at commit e9a2aea4dc77 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving microsoft/tgrep to commit e9a2aea4dc77, 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

microsoft/tgrep: 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 85.6% of all lines, comments represent 7.8%, and the repository averages 701 code lines per file. Rust accounts for 91.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 85 | 91,697 | 83,393 | 3,057 | 5,247 |
| 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,995 | 0 | 5,072 | 923 |

Top language: Rust 91.5%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/microsoft/tgrep/commit/e9a2aea4dc771264d0445508b7d7a3edf5674397?reportId=1e17c2b4875dabfd27d35ac9d9218ed64b8b453f5c459c569c337f3f6459e544&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/microsoft/tgrep/commit/e9a2aea4dc771264d0445508b7d7a3edf5674397?reportId=1e17c2b4875dabfd27d35ac9d9218ed64b8b453f5c459c569c337f3f6459e544&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 microsoft/tgrep have?

microsoft/tgrep has 91,166 lines of code, plus 8,338 comment lines and 6,946 blank lines, for 106,450 total lines at commit e9a2aea4dc77 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit e9a2aea4dc77, 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 e9a2aea4dc77 on November 13, 2026.

## Similar repository reports

- [midnightntwrk/midnight-zk](https://octocounts.com/github/midnightntwrk/midnight-zk) — Rust, 91,111 code lines
- [cloudflare/pingora](https://octocounts.com/github/cloudflare/pingora) — Rust, 91,717 code lines
- [KOBA789/iceberg-rust](https://octocounts.com/github/KOBA789/iceberg-rust) — Rust, 92,156 code lines
- [rust-lang/crates.io](https://octocounts.com/github/rust-lang/crates.io) — Rust, 92,570 code lines
- [FabianHassler/rustfig](https://octocounts.com/github/FabianHassler/rustfig) — Rust, 89,058 code lines
- [kobaltgit/StatCraft](https://octocounts.com/github/kobaltgit/StatCraft) — Rust, 88,731 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)
- [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)
