NuGet/NuGet.Client has 280,704 source lines of code out of 402,907 total lines across 2,952 files, counted with tokei from the dev ref at commit 0d428c030514 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
NuGet/NuGet.Client: 280,704 code lines at commit 0d428c030514, counted with tokei-15.0.0 on 2026-11-18. Saved result 6bf65af83259e6301f6ce9fd8fe26fb94bd09379689a36732e8edf59237ff810.
OctoCounts produced this report by resolving NuGet/NuGet.Client to commit 0d428c030514, 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 69.7% of all lines, comments represent 17.7%, and the repository averages 95 code lines per file. C# accounts for 85.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 2522 | 336858 | 238885 | 50534 | 47439 |
| .NET Resource | 36 | 12604 | 10432 | 2124 | 48 |
| PowerShell | 60 | 9048 | 7133 | 933 | 982 |
| XAML | 36 | 6276 | 5909 | 154 | 213 |
| YAML | 97 | 6294 | 5181 | 516 | 597 |
| MSBuild | 62 | 6079 | 4804 | 791 | 484 |
| Shell | 28 | 4915 | 3794 | 424 | 697 |
| Visual Studio Solution | 1 | 1624 | 1623 | 0 | 1 |
| XML | 2 | 1442 | 1348 | 43 | 51 |
| JSON | 3 | 494 | 464 | 0 | 30 |
| CMake | 1 | 404 | 349 | 14 | 41 |
| Python | 1 | 409 | 308 | 14 | 87 |
| XSL | 1 | 343 | 298 | 8 | 37 |
| NuGet Config | 2 | 143 | 142 | 1 | 0 |
| Batch | 9 | 39 | 34 | 2 | 3 |
| Markdown | 32 | 586 | 0 | 408 | 178 |
| Plain Text | 59 | 15349 | 0 | 15161 | 188 |
Top language: C# 85.1%. Generated on .
NuGet/NuGet.Client: 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.
NuGet/NuGet.Client has 280,704 lines of code, plus 71,127 comment lines and 51,076 blank lines, for 402,907 total lines at commit 0d428c030514 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 0d428c030514, 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 dev at commit 0d428c030514 on November 18, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for NuGet/NuGet.Client on this page — 280,704 code lines across 17 languages, counted by tokei.