# dotnet/windowsdesktop SLOC report

> As of 2026-11-18 (commit 5e182f131e3d), dotnet/windowsdesktop contains 15,453 total lines: 11,846 code, 1,816 comments, 1,791 blank, across 182 files in 13 languages (top language: Shell 30.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

dotnet/windowsdesktop has 11,846 source lines of code out of 15,453 total lines across 182 files, counted with tokei from the main ref at commit 5e182f131e3d on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving dotnet/windowsdesktop to commit 5e182f131e3d, 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

dotnet/windowsdesktop: 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 medium-sized codebase by counted code lines. Code represents 76.7% of all lines, comments represent 11.8%, and the repository averages 65 code lines per file. Shell accounts for 30.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Shell | 26 | 4,713 | 3,640 | 408 | 665 |
| PowerShell | 25 | 4,077 | 3,234 | 486 | 357 |
| YAML | 85 | 4,087 | 3,208 | 460 | 419 |
| MSBuild | 21 | 1,107 | 805 | 161 | 141 |
| CMake | 1 | 376 | 319 | 15 | 42 |
| Python | 1 | 411 | 310 | 14 | 87 |
| XML | 1 | 176 | 176 | 0 | 0 |
| Visual Studio Solution | 1 | 61 | 61 | 0 | 0 |
| JSON | 3 | 41 | 41 | 0 | 0 |
| NuGet Config | 2 | 39 | 37 | 2 | 0 |
| Batch | 6 | 19 | 15 | 2 | 2 |
| Markdown | 9 | 344 | 0 | 266 | 78 |

Top language: Shell 30.7%. Generated on November 18, 2026. Canonical report: https://octocounts.com/github/dotnet/windowsdesktop

## Reproduce this report

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

## Report FAQ

### How many lines of code does dotnet/windowsdesktop have?

dotnet/windowsdesktop has 11,846 lines of code, plus 1,816 comment lines and 1,791 blank lines, for 15,453 total lines at commit 5e182f131e3d on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the dotnet/windowsdesktop line count measured?

OctoCounts resolved the public GitHub repository to commit 5e182f131e3d, 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/windowsdesktop?

This OctoCounts report was generated from main at commit 5e182f131e3d on November 18, 2026.

## Similar repository reports

- [bin456789/reinstall](https://octocounts.com/github/bin456789/reinstall) — Shell, 12,667 code lines
- [mysql/mysql-docker](https://octocounts.com/github/mysql/mysql-docker) — Shell, 10,772 code lines
- [wnlen/clash-for-linux](https://octocounts.com/github/wnlen/clash-for-linux) — Shell, 18,702 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)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Bun vs Node.js](https://octocounts.com/compare/bun-vs-node)
- [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)
