microsoft/PowerToys SLOC report
As of 2026-07-31 (commit bb99c30edcd4), microsoft/PowerToys contains 922,121 total lines: 691,437 code, 118,372 comments, 112,312 blank, across 6,566 files in 27 languages (top: C# 48.5%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 75.0% of all lines, comments represent 12.8%, and the repository averages 105 code lines per file. C# accounts for 48.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C# | 3817 | 464086 | 335596 | 61308 | 67182 |
| C++ | 595 | 168547 | 133406 | 13390 | 21751 |
| XAML | 295 | 42935 | 40059 | 1264 | 1612 |
| C++ Header | 1 | 46251 | 37765 | 610 | 7876 |
| JavaScript | 112 | 55023 | 27554 | 23289 | 4180 |
| YAML | 40 | 27145 | 27105 | 2 | 38 |
| C Header | 716 | 35138 | 25707 | 3999 | 5432 |
| .NET Resource | 122 | 26733 | 19769 | 6945 | 19 |
| Visual Studio Project | 124 | 15533 | 15158 | 164 | 211 |
| MSBuild | 246 | 12048 | 9934 | 936 | 1178 |
| JSON | 142 | 6721 | 6700 | 0 | 21 |
| C | 15 | 4233 | 3384 | 498 | 351 |
Top language (C# 48.5%). Generated at 2026-07-31T05:46:40.943981443+00:00.
Report FAQ
How many lines of code does microsoft/PowerToys have?
microsoft/PowerToys has 922,121 total lines, including 691,437 code lines, 118,372 comment lines, and 112,312 blank lines.
How was the microsoft/PowerToys line count measured?
OctoCounts resolved the public GitHub repository to commit bb99c30edcd4, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for microsoft/PowerToys?
This OctoCounts report was generated from main at commit bb99c30edcd4 on 2026-07-31T05:46:40.943981443+00:00.