As of 2026-07-15 (commit 0c226762e258), PowerShell/PowerShell contains 860,670 total lines: 556,222 code, 201,199 comments, 103,249 blank, across 1,599 files in 17 languages (top: C# 89.7%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving PowerShell/PowerShell to commit 0c226762e258, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 64.6% of all lines, comments represent 23.4%, and the repository averages 348 code lines per file. C# accounts for 89.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 1246 | 769005 | 498748 | 174183 | 96074 |
| .NET Resource | 166 | 33860 | 24149 | 9568 | 143 |
| PowerShell | 49 | 19467 | 14454 | 2685 | 2328 |
| JSON | 22 | 11305 | 11305 | 0 | 0 |
| XAML | 16 | 3650 | 3092 | 205 | 353 |
| SVG | 8 | 1370 | 1362 | 6 | 2 |
| Shell | 13 | 1803 | 1247 | 273 | 283 |
| MSBuild | 27 | 972 | 772 | 123 | 77 |
| XML | 5 | 523 | 474 | 34 | 15 |
| XSL | 2 | 391 | 292 | 57 | 42 |
| Visual Studio Solution | 1 | 180 | 180 | 0 | 0 |
| Dockerfile | 1 | 134 | 97 | 20 | 17 |
Top language (C# 89.7%). Generated at 2026-07-15T14:19:06.344557536+00:00.
PowerShell/PowerShell has 860,670 total lines, including 556,222 code lines, 201,199 comment lines, and 103,249 blank lines.
OctoCounts resolved the public GitHub repository to commit 0c226762e258, 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 master at commit 0c226762e258 on 2026-07-15T14:19:06.344557536+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: