microsoft/WSL SLOC report
As of 2026-07-22 (commit c2ad28655201), microsoft/WSL contains 166,597 total lines: 116,344 code, 24,378 comments, 25,875 blank, across 823 files in 21 languages (top: C++ 62.7%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 69.8% of all lines, comments represent 14.6%, and the repository averages 141 code lines per file. C++ accounts for 62.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ | 272 | 103463 | 72997 | 14231 | 16235 |
| C Header | 304 | 41491 | 28136 | 6441 | 6914 |
| C# | 74 | 4691 | 3725 | 214 | 752 |
| XML | 25 | 3825 | 2559 | 1266 | 0 |
| CMake | 45 | 2580 | 2057 | 161 | 362 |
| Autoconf | 13 | 1538 | 1345 | 32 | 161 |
| XAML | 26 | 1274 | 1181 | 32 | 61 |
| C++ Header | 17 | 1724 | 1108 | 222 | 394 |
| Python | 8 | 1469 | 1066 | 56 | 347 |
| PowerShell | 9 | 1013 | 779 | 75 | 159 |
| JSON | 3 | 520 | 520 | 0 | 0 |
| YAML | 1 | 412 | 343 | 1 | 68 |
Top language (C++ 62.7%). Generated at 2026-07-22T05:25:25.253732336+00:00.
Report FAQ
How many lines of code does microsoft/WSL have?
microsoft/WSL has 166,597 total lines, including 116,344 code lines, 24,378 comment lines, and 25,875 blank lines.
How was the microsoft/WSL line count measured?
OctoCounts resolved the public GitHub repository to commit c2ad28655201, 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/WSL?
This OctoCounts report was generated from master at commit c2ad28655201 on 2026-07-22T05:25:25.253732336+00:00.