dotnet/aspnetcore has 681,148 source lines of code out of 1,003,683 total lines across 9,976 files, counted with tokei from the main ref at commit d7870e7ec8da on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
dotnet/aspnetcore: 681,148 code lines at commit d7870e7ec8da, counted with tokei-15.0.0 on 2026-11-16. Saved result 9bea6795fad9acb21857aec4e1828e0d131878e185cfc2f048004d1d2df529ab.
OctoCounts produced this report by resolving dotnet/aspnetcore to commit d7870e7ec8da, 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.
This is a large codebase by counted code lines. Code represents 67.9% of all lines, comments represent 19.8%, and the repository averages 68 code lines per file. C# accounts for 74.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 6707 | 753027 | 509454 | 144646 | 98927 |
| JSON | 318 | 30148 | 30138 | 0 | 10 |
| C++ | 98 | 34830 | 25956 | 3645 | 5229 |
| MSBuild | 528 | 21865 | 17945 | 1358 | 2562 |
| TypeScript | 154 | 24975 | 17725 | 3454 | 3796 |
| Razor | 541 | 19926 | 17162 | 615 | 2149 |
| C Header | 131 | 16324 | 10409 | 3383 | 2532 |
| .NET Resource | 84 | 14076 | 9117 | 4958 | 1 |
| PowerShell | 101 | 9977 | 7868 | 1051 | 1058 |
| CSS | 83 | 8679 | 7472 | 181 | 1026 |
| JavaScript | 124 | 7850 | 6737 | 518 | 595 |
| Shell | 94 | 6459 | 4809 | 710 | 940 |
| YAML | 89 | 5263 | 4295 | 487 | 481 |
| Java | 68 | 5278 | 3527 | 1029 | 722 |
| Sass | 2 | 1995 | 1985 | 5 | 5 |
| XML | 27 | 1624 | 1589 | 32 | 3 |
| Visual Studio Project | 11 | 935 | 920 | 4 | 11 |
| HTML | 33 | 912 | 793 | 26 | 93 |
| Autoconf | 26 | 731 | 634 | 0 | 97 |
| Batch | 118 | 732 | 569 | 22 | 141 |
| SVG | 30 | 418 | 410 | 4 | 4 |
| CMake | 1 | 376 | 319 | 15 | 42 |
| Python | 1 | 411 | 310 | 14 | 87 |
| F# | 11 | 284 | 221 | 0 | 63 |
| C | 2 | 450 | 177 | 205 | 68 |
| Monkey C | 1 | 219 | 170 | 13 | 36 |
| Lua | 4 | 196 | 140 | 19 | 37 |
| Protocol Buffers | 7 | 494 | 95 | 358 | 41 |
| Visual Studio Solution | 1 | 50 | 50 | 0 | 0 |
| NuGet Config | 4 | 52 | 48 | 4 | 0 |
| Module-Definition | 9 | 62 | 42 | 4 | 16 |
| INI | 5 | 61 | 34 | 12 | 15 |
| Dockerfile | 1 | 36 | 26 | 1 | 9 |
| LESS | 1 | 2 | 2 | 0 | 0 |
| Markdown | 180 | 6699 | 0 | 4551 | 2148 |
| Plain Text | 381 | 28267 | 0 | 27719 | 548 |
Top language: C# 74.8%. Generated on .
dotnet/aspnetcore: 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.
dotnet/aspnetcore has 681,148 lines of code, plus 199,043 comment lines and 123,492 blank lines, for 1,003,683 total lines at commit d7870e7ec8da on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit d7870e7ec8da, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit d7870e7ec8da on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for dotnet/aspnetcore on this page — 681,148 code lines across 36 languages, counted by tokei.