# NuGet/NuGet.Client SLOC report

> NuGet/NuGet.Client: 280,704 code lines at commit 0d428c030514, counted with tokei-15.0.0 on 2026-11-18. Saved result 6bf65af83259e6301f6ce9fd8fe26fb94bd09379689a36732e8edf59237ff810.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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# | 2,522 | 336,858 | 238,885 | 50,534 | 47,439 |
| .NET Resource | 36 | 12,604 | 10,432 | 2,124 | 48 |
| PowerShell | 60 | 9,048 | 7,133 | 933 | 982 |
| XAML | 36 | 6,276 | 5,909 | 154 | 213 |
| YAML | 97 | 6,294 | 5,181 | 516 | 597 |
| MSBuild | 62 | 6,079 | 4,804 | 791 | 484 |
| Shell | 28 | 4,915 | 3,794 | 424 | 697 |
| Visual Studio Solution | 1 | 1,624 | 1,623 | 0 | 1 |
| XML | 2 | 1,442 | 1,348 | 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 | 15,349 | 0 | 15,161 | 188 |

Top language: C# 85.1%. Generated on November 18, 2026. Canonical report: https://octocounts.com/github/NuGet/NuGet.Client/commit/0d428c0305148200b0a6f20fe4065e5bb58f3fdb?reportId=6bf65af83259e6301f6ce9fd8fe26fb94bd09379689a36732e8edf59237ff810&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/NuGet/NuGet.Client/commit/0d428c0305148200b0a6f20fe4065e5bb58f3fdb?reportId=6bf65af83259e6301f6ce9fd8fe26fb94bd09379689a36732e8edf59237ff810&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does NuGet/NuGet.Client have?

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.

### How was the NuGet/NuGet.Client line count measured?

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.

### What commit was counted for NuGet/NuGet.Client?

This OctoCounts report was generated from dev at commit 0d428c030514 on November 18, 2026.

## Similar repository reports

- [DorianGrayII/MOM-2022-](https://octocounts.com/github/DorianGrayII/MOM-2022-) — C#, 268,226 code lines
- [iOfficeAI/OfficeCLI](https://octocounts.com/github/iOfficeAI/OfficeCLI) — C#, 267,389 code lines
- [optimajet/WorkflowEngine.NET](https://octocounts.com/github/optimajet/WorkflowEngine.NET) — C#, 267,167 code lines
- [dotnet/ef6](https://octocounts.com/github/dotnet/ef6) — C#, 305,818 code lines
- [sharpemu/sharpemu](https://octocounts.com/github/sharpemu/sharpemu) — C#, 306,995 code lines
- [icsharpcode/ILSpy](https://octocounts.com/github/icsharpcode/ILSpy) — C#, 316,627 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
