# dotnet/extensions SLOC report

> dotnet/extensions: 167,793 code lines at commit 8cf4ff6658e9, counted with tokei-15.0.0 on 2026-11-18. Saved result 0cf6e724c09118e0b3f94ca3884f6450d5dc9440482ae2701bd87fd049512b36.

dotnet/extensions has 167,793 source lines of code out of 235,445 total lines across 2,087 files, counted with tokei from the main ref at commit 8cf4ff6658e9 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving dotnet/extensions to commit 8cf4ff6658e9, 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

dotnet/extensions: 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 large codebase by counted code lines. Code represents 71.3% of all lines, comments represent 17.5%, and the repository averages 80 code lines per file. C# accounts for 55.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 1,453 | 145,206 | 92,214 | 32,612 | 20,380 |
| JSON | 72 | 27,538 | 27,530 | 0 | 8 |
| YAML | 102 | 23,248 | 22,295 | 466 | 487 |
| TSX | 18 | 6,215 | 5,749 | 60 | 406 |
| PowerShell | 48 | 6,680 | 5,147 | 787 | 746 |
| MSBuild | 138 | 4,878 | 3,937 | 335 | 606 |
| Shell | 31 | 4,761 | 3,670 | 397 | 694 |
| TypeScript | 33 | 2,979 | 2,003 | 568 | 408 |
| CSS | 14 | 1,150 | 998 | 16 | 136 |
| JavaScript | 14 | 1,113 | 957 | 41 | 115 |
| .NET Resource | 5 | 1,212 | 917 | 295 | 0 |
| XML | 3 | 916 | 910 | 6 | 0 |
| Razor | 14 | 577 | 494 | 10 | 73 |
| CMake | 1 | 401 | 347 | 14 | 40 |
| Python | 1 | 409 | 308 | 14 | 87 |
| Batch | 11 | 168 | 115 | 17 | 36 |
| HTML | 5 | 127 | 103 | 8 | 16 |
| NuGet Config | 4 | 85 | 66 | 19 | 0 |
| Visual Studio Solution | 1 | 34 | 33 | 0 | 1 |
| Markdown | 113 | 6,799 | 0 | 4,717 | 2,082 |
| Plain Text | 6 | 949 | 0 | 729 | 220 |

Top language: C# 55.0%. Generated on November 18, 2026. Canonical report: https://octocounts.com/github/dotnet/extensions/commit/8cf4ff6658e9b36eca01ac6045ea9835f3b3b751?reportId=0cf6e724c09118e0b3f94ca3884f6450d5dc9440482ae2701bd87fd049512b36&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/dotnet/extensions/commit/8cf4ff6658e9b36eca01ac6045ea9835f3b3b751?reportId=0cf6e724c09118e0b3f94ca3884f6450d5dc9440482ae2701bd87fd049512b36&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 dotnet/extensions have?

dotnet/extensions has 167,793 lines of code, plus 41,111 comment lines and 26,541 blank lines, for 235,445 total lines at commit 8cf4ff6658e9 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the dotnet/extensions line count measured?

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

### What commit was counted for dotnet/extensions?

This OctoCounts report was generated from main at commit 8cf4ff6658e9 on November 18, 2026.

## Similar repository reports

- [CoplayDev/unity-mcp](https://octocounts.com/github/CoplayDev/unity-mcp) — C#, 170,101 code lines
- [GOWone/MicroXRF](https://octocounts.com/github/GOWone/MicroXRF) — C#, 163,969 code lines
- [HandyOrg/HandyControl](https://octocounts.com/github/HandyOrg/HandyControl) — C#, 172,901 code lines
- [protobuf-net/protobuf-net](https://octocounts.com/github/protobuf-net/protobuf-net) — C#, 159,922 code lines
- [FabianFG/CUE4Parse](https://octocounts.com/github/FabianFG/CUE4Parse) — C#, 159,815 code lines
- [getnanoai/NanoAgent](https://octocounts.com/github/getnanoai/NanoAgent) — C#, 176,898 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)
- [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)
