# dotnet/roslyn-analyzers SLOC report

> dotnet/roslyn-analyzers: 392,544 code lines at commit eb2d0a418446, counted with tokei-15.0.0 on 2026-11-17. Saved result 6eb529ae5bf54aae0518ead98f46fa44760a9460edce75218f165109074c4ea2.

dotnet/roslyn-analyzers has 392,544 source lines of code out of 452,697 total lines across 1,947 files, counted with tokei from the eb2d0a41844658e92af3941903b2501cb8fc5cc1 ref at commit eb2d0a418446 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving dotnet/roslyn-analyzers to commit eb2d0a418446, 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/roslyn-analyzers: 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 86.7% of all lines, comments represent 5.3%, and the repository averages 202 code lines per file. C# accounts for 94.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 1,496 | 418,458 | 370,669 | 15,978 | 31,811 |
| .NET Resource | 12 | 5,883 | 5,175 | 708 | 0 |
| Visual Basic | 143 | 5,789 | 4,212 | 525 | 1,052 |
| PowerShell | 44 | 4,884 | 3,925 | 461 | 498 |
| Shell | 28 | 3,888 | 3,046 | 239 | 603 |
| MSBuild | 92 | 2,879 | 2,476 | 199 | 204 |
| YAML | 33 | 2,460 | 1,956 | 235 | 269 |
| Visual Studio Solution | 1 | 599 | 598 | 0 | 1 |
| CMake | 1 | 336 | 288 | 8 | 40 |
| JSON | 8 | 81 | 81 | 0 | 0 |
| Batch | 10 | 66 | 56 | 2 | 8 |
| NuGet Config | 4 | 47 | 45 | 2 | 0 |
| XML | 2 | 17 | 17 | 0 | 0 |
| Markdown | 63 | 6,093 | 0 | 4,614 | 1,479 |
| Plain Text | 10 | 1,217 | 0 | 1,135 | 82 |

Top language: C# 94.4%. Generated on November 17, 2026. Canonical report: https://octocounts.com/github/dotnet/roslyn-analyzers/commit/eb2d0a41844658e92af3941903b2501cb8fc5cc1?reportId=6eb529ae5bf54aae0518ead98f46fa44760a9460edce75218f165109074c4ea2&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/roslyn-analyzers/commit/eb2d0a41844658e92af3941903b2501cb8fc5cc1?reportId=6eb529ae5bf54aae0518ead98f46fa44760a9460edce75218f165109074c4ea2&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/roslyn-analyzers have?

dotnet/roslyn-analyzers has 392,544 lines of code, plus 24,106 comment lines and 36,047 blank lines, for 452,697 total lines at commit eb2d0a418446 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the dotnet/roslyn-analyzers line count measured?

OctoCounts resolved the public GitHub repository to commit eb2d0a418446, 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/roslyn-analyzers?

This OctoCounts report was generated from eb2d0a41844658e92af3941903b2501cb8fc5cc1 at commit eb2d0a418446 on November 17, 2026.

## 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)
