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.

dotnet/runtime: 5,049,679 code lines at commit 27e4619ce003, counted with tokei-15.0.0 on 2026-11-19. Saved result 87f1f33a5d8efbfc82c5cd30362004a374b604a8cc3090411efc1eaf5fe5e99c.

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
XML21022893211331383377
YAML278232731927520591939
Python46220031642019143669
JSON132124031240300
Assembly6916763958440193160
Shell8812057930311681586
Autoconf8712197902616501521
Bitbake37765458586501146
PowerShell4958204580637603
Module-Definition284649416018471
JavaScript3938733147314412
Objective-C2040883115456517
Prolog6254722960251
Happy1207718610216
XSL21844152353268
Batch3320661512191363
Makefile2920411406193442
Automake214061171123112
HTML4810449613053
Swift284369320130
Visual Studio Project368068000
Perl37486135481
Razor26450389358
Java55193775488
Bazel32251821231
NuGet Config3655690
Dockerfile286491522
D163361116
Visual Studio Solution1252500
BASH12812115
VBScript1151203
Forge Config215942
CSS13300
ReScript11100
Markdown347206670148095858
Plain Text508477074031074

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.