dotnet/roslyn

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.

As of 2026-11-16 (commit c6dae7dd4f51), dotnet/roslyn contains 9,302,323 total lines: 7,250,589 code, 1,165,622 comments, 886,112 blank, across 24,456 files in 23 languages (top language: C# 72.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit c6dae7dd4f51), dotnet/roslyn contains 9,302,323 total lines: 7,250,589 code, 1,165,622 comments, 886,112 blank, across 24,456 files in 23 languages (top language: C# 72.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C#1608863007775247974474675578128
Visual Basic375221356111738110119559277942
JSON10213205313204706
.NET Resource99634985541656642418
MSBuild615277222289528142013
XML9248412153222001109
PowerShell7387086951825932
XAML606709638655268
YAML11273355968627740
Razor13455534483451025
Shell3654254183471771
HTML12002200200

Top language: C# 72.4%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does dotnet/roslyn have?

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.

How was the dotnet/roslyn line count measured?

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.

What commit was counted for dotnet/roslyn?

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.