dotnet/roslyn has 7,209,258 source lines of code out of 9,257,626 total lines across 24,394 files, counted from the main ref at commit f5ceb9666d68 by the OctoCounts tokei engine on 2026-10-12. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
dotnet/roslyn: 7,209,258 code lines at commit f5ceb9666d68, counted with tokei-14.0.0 on 2026-10-12. Saved result fd514f0a3efec679ce6c874271d0af2b5e7776048dbd57f872c35b9c483c59db.
OctoCounts produced this report by resolving dotnet/roslyn to commit f5ceb9666d68, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 77.9% of all lines, comments represent 12.6%, and the repository averages 296 code lines per file. C# accounts for 72.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 16036 | 6256987 | 5207342 | 473843 | 575802 |
| Visual Basic | 3751 | 2135019 | 1737591 | 119561 | 277867 |
| JSON | 102 | 132035 | 132029 | 0 | 6 |
| .NET Resource | 97 | 63362 | 55280 | 5664 | 2418 |
| MSBuild | 614 | 27727 | 22916 | 2815 | 1996 |
| XML | 9 | 24829 | 21524 | 2196 | 1109 |
| PowerShell | 72 | 8644 | 6898 | 822 | 924 |
| XAML | 60 | 6786 | 6444 | 68 | 274 |
| YAML | 113 | 7327 | 5946 | 630 | 751 |
| Razor | 134 | 5553 | 4483 | 45 | 1025 |
| Shell | 34 | 5384 | 4152 | 472 | 760 |
| 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 | 418 | 361 | 15 | 42 |
| Python | 1 | 411 | 310 | 14 | 87 |
| Batch | 28 | 240 | 168 | 23 | 49 |
| NuGet Config | 2 | 45 | 41 | 4 | 0 |
| ReScript | 3 | 12 | 11 | 0 | 1 |
| F# | 2 | 19 | 10 | 3 | 6 |
| Markdown | 104 | 4692 | 0 | 3418 | 1274 |
| Plain Text | 3188 | 574249 | 0 | 555078 | 19171 |
Top language (C# 72.2%). Generated at .
dotnet/roslyn has 9,257,626 total lines, including 7,209,258 code lines, 1,164,690 comment lines, and 883,678 blank lines.
OctoCounts resolved the public GitHub repository to commit f5ceb9666d68, 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 f5ceb9666d68 on 2026-10-12T06:54:57.465019576Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for dotnet/roslyn on this page — 7,209,258 code lines across 23 languages, counted by tokei.