dotnet/runtime

dotnet/runtime has 5,049,679 source lines of code out of 7,043,106 total lines across 24,255 files, counted with tokei from the main ref at commit 27e4619ce003 on November 19, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-19 (commit 27e4619ce003), dotnet/runtime contains 7,043,106 total lines: 5,049,679 code, 1,093,910 comments, 899,517 blank, across 24,255 files in 48 languages (top language: C# 49.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-19 (commit 27e4619ce003), dotnet/runtime contains 7,043,106 total lines: 5,049,679 code, 1,093,910 comments, 899,517 blank, across 24,255 files in 48 languages (top language: C# 49.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving dotnet/runtime to commit 27e4619ce003, 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 71.7% of all lines, comments represent 15.5%, and the repository averages 208 code lines per file. C# accounts for 49.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C#1602935389972495924593945449128
C++10881384329965016226741192572
C13106518074825428529483971
C Header2112681714459885110586111243
Monkey C126214426214400
C++ Header16777167544761129811393
MSBuild1041547934710729954691
.NET Resource181486774217065052
Visual Basic72499043579950199086
TypeScript188387712942751964148
GNU Style Assembly189344742212270015351
CMake221267212119620673458

Top language: C# 49.4%. Generated on .

Counting rules and retention

dotnet/runtime: 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/runtime have?

dotnet/runtime has 5,049,679 lines of code, plus 1,093,910 comment lines and 899,517 blank lines, for 7,043,106 total lines at commit 27e4619ce003 on November 19, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the dotnet/runtime line count measured?

OctoCounts resolved the public GitHub repository to commit 27e4619ce003, 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/runtime?

This OctoCounts report was generated from main at commit 27e4619ce003 on November 19, 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/runtime on this page — 5,049,679 code lines across 48 languages, counted by tokei.