dotnet/roslyn

dotnet/roslyn has 7,249,995 source lines of code out of 9,301,264 total lines across 24,440 files, counted with tokei from the main ref at commit da9878a16b49 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

dotnet/roslyn: 7,249,995 code lines at commit da9878a16b49, counted with tokei-15.0.0 on 2026-11-21. Saved result a4d510cd383a4d0516f1be694484bb25dfdbc3ad3ffd689501614bd2d8b48881.

OctoCounts produced this report by resolving dotnet/roslyn to commit da9878a16b49, 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 297 code lines per file. C# accounts for 72.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C#1607462993735247070474332577971
Visual Basic375221358791738360119568277951
JSON10213205313204706
.NET Resource99635015541956642418
MSBuild615277522291428212017
XML9248412153222001109
PowerShell7387286972825931
XAML606709638655268
YAML11273455976629740
Razor13455534483451025
Shell3554444197474773
HTML12002200200
Visual Studio Solution32869834035
SVG154354030
CSS94733761681
CMake14043491441
Python14093081487
Batch282401682349
NuGet Config2454140
ReScript3121101
F#2191036
Markdown1054736034481288
Plain Text3190574334055516419170

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,249,995 lines of code, plus 1,165,302 comment lines and 885,967 blank lines, for 9,301,264 total lines at commit da9878a16b49 on November 21, 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 da9878a16b49, 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 da9878a16b49 on November 21, 2026.

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,249,995 code lines across 23 languages, counted by tokei.