# microsoft/testfx SLOC report

> As of 2026-11-21 (commit 3bf21c761a74), microsoft/testfx contains 986,166 total lines: 761,181 code, 75,101 comments, 149,884 blank, across 3,907 files in 21 languages (top language: C# 93.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

microsoft/testfx has 761,181 source lines of code out of 986,166 total lines across 3,907 files, counted with tokei from the main ref at commit 3bf21c761a74 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving microsoft/testfx to commit 3bf21c761a74, 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/testfx: 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 77.2% of all lines, comments represent 7.6%, and the repository averages 195 code lines per file. C# accounts for 93.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 3,086 | 903,912 | 710,599 | 49,242 | 144,071 |
| PowerShell | 84 | 23,408 | 20,368 | 1,394 | 1,646 |
| .NET Resource | 28 | 9,138 | 7,830 | 1,298 | 10 |
| MSBuild | 183 | 9,120 | 6,694 | 1,437 | 989 |
| YAML | 99 | 6,345 | 4,973 | 756 | 616 |
| Bazel | 32 | 4,609 | 4,276 | 59 | 274 |
| Shell | 30 | 4,838 | 3,709 | 444 | 685 |
| JSON | 37 | 1,208 | 1,208 | 0 | 0 |
| Visual Studio Solution | 13 | 462 | 449 | 0 | 13 |
| CMake | 1 | 376 | 319 | 15 | 42 |
| Python | 1 | 411 | 310 | 14 | 87 |
| XAML | 13 | 173 | 154 | 8 | 11 |

Top language: C# 93.4%. Generated on November 21, 2026. Canonical report: https://octocounts.com/github/microsoft/testfx

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/microsoft/testfx/commit/3bf21c761a747e2c95135401c9138dd1640888d7?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=902ec1499fb5849d9f31e0f00e660e6be0a4a502bfac94b83d6d833b045163af).

## Report FAQ

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

microsoft/testfx has 761,181 lines of code, plus 75,101 comment lines and 149,884 blank lines, for 986,166 total lines at commit 3bf21c761a74 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 3bf21c761a74, 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/testfx?

This OctoCounts report was generated from main at commit 3bf21c761a74 on November 21, 2026.

## Similar repository reports

- [Kareadita/Kavita](https://octocounts.com/github/Kareadita/Kavita) — C#, 803,400 code lines
- [PowerShell/PowerShell](https://octocounts.com/github/PowerShell/PowerShell) — C#, 818,108 code lines
- [abpframework/abp](https://octocounts.com/github/abpframework/abp) — C#, 835,796 code lines
- [dotnet/aspnetcore](https://octocounts.com/github/dotnet/aspnetcore) — C#, 685,037 code lines
- [nhibernate/nhibernate-core](https://octocounts.com/github/nhibernate/nhibernate-core) — C#, 674,395 code lines
- [smartstore/SmartStoreNET](https://octocounts.com/github/smartstore/SmartStoreNET) — C#, 652,282 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)
