dotnet/roslyn has 7,250,589 source lines of code out of 9,302,323 total lines across 24,456 files, counted with tokei from the main ref at commit c6dae7dd4f51 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
dotnet/roslyn: 7,250,589 code lines at commit c6dae7dd4f51, counted with tokei-15.0.0 on 2026-11-16. Saved result 2f9cb46ddadb9c9f9ac731512da32a381cfb58e261cea6af4dbe995e696bbbcf.
OctoCounts produced this report by resolving dotnet/roslyn to commit c6dae7dd4f51, 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.
This is a very large codebase by counted code lines. Code represents 77.9% of all lines, comments represent 12.5%, and the repository averages 296 code lines per file. C# accounts for 72.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 16088 | 6300777 | 5247974 | 474675 | 578128 |
| Visual Basic | 3752 | 2135611 | 1738110 | 119559 | 277942 |
| JSON | 102 | 132053 | 132047 | 0 | 6 |
| .NET Resource | 99 | 63498 | 55416 | 5664 | 2418 |
| MSBuild | 615 | 27722 | 22895 | 2814 | 2013 |
| XML | 9 | 24841 | 21532 | 2200 | 1109 |
| PowerShell | 73 | 8708 | 6951 | 825 | 932 |
| XAML | 60 | 6709 | 6386 | 55 | 268 |
| YAML | 112 | 7335 | 5968 | 627 | 740 |
| Razor | 134 | 5553 | 4483 | 45 | 1025 |
| Shell | 36 | 5425 | 4183 | 471 | 771 |
| HTML | 1 | 2002 | 2002 | 0 | 0 |
| Visual Studio Solution | 32 | 869 | 834 | 0 | 35 |
| SVG | 1 | 543 | 540 | 3 | 0 |
| CSS | 9 | 473 | 376 | 16 | 81 |
| CMake | 1 | 404 | 349 | 14 | 41 |
| Python | 1 | 409 | 308 | 14 | 87 |
| Batch | 29 | 246 | 173 | 23 | 50 |
| NuGet Config | 2 | 45 | 41 | 4 | 0 |
| ReScript | 3 | 12 | 11 | 0 | 1 |
| F# | 2 | 19 | 10 | 3 | 6 |
| Markdown | 105 | 4736 | 0 | 3448 | 1288 |
| Plain Text | 3190 | 574333 | 0 | 555162 | 19171 |
Top language: C# 72.4%. Generated on .
dotnet/roslyn: 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.
dotnet/roslyn has 7,250,589 lines of code, plus 1,165,622 comment lines and 886,112 blank lines, for 9,302,323 total lines at commit c6dae7dd4f51 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit c6dae7dd4f51, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit c6dae7dd4f51 on November 16, 2026.
Play the growth animation for dotnet/roslyn on this page — 7,250,589 code lines across 23 languages, counted by tokei.