dotnet/roslyn

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.

As of 2026-10-12 (commit f5ceb9666d68), dotnet/roslyn contains 9,257,626 total lines: 7,209,258 code, 1,164,690 comments, 883,678 blank, across 24,394 files in 23 languages (top: C# 72.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-12 (commit f5ceb9666d68), dotnet/roslyn contains 9,257,626 total lines: 7,209,258 code, 1,164,690 comments, 883,678 blank, across 24,394 files in 23 languages (top: C# 72.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C#1603662569875207342473843575802
Visual Basic375121350191737591119561277867
JSON10213203513202906
.NET Resource97633625528056642418
MSBuild614277272291628151996
XML9248292152421961109
PowerShell7286446898822924
XAML606786644468274
YAML11373275946630751
Razor13455534483451025
Shell3453844152472760
HTML12002200200

Top language (C# 72.2%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does dotnet/roslyn have?

dotnet/roslyn has 9,257,626 total lines, including 7,209,258 code lines, 1,164,690 comment lines, and 883,678 blank lines.

How was the dotnet/roslyn line count measured?

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.

What commit was counted for dotnet/roslyn?

This OctoCounts report was generated from main at commit f5ceb9666d68 on 2026-10-12T06:54:57.465019576+00:00.

Similar repository reports

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 12 languages, counted by tokei.