microsoft/WSL has 134,700 source lines of code out of 192,361 total lines across 878 files, counted with tokei from the master ref at commit d91224d1c506 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit d91224d1c506), microsoft/WSL contains 192,361 total lines: 134,700 code, 28,175 comments, 29,486 blank, across 878 files in 21 languages (top language: C++ 64.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/WSL to commit d91224d1c506, 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.
This is a large codebase by counted code lines. Code represents 70.0% of all lines, comments represent 14.6%, and the repository averages 153 code lines per file. C++ accounts for 64.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 293 | 120395 | 86424 | 15342 | 18629 |
| C Header | 330 | 47391 | 31936 | 7616 | 7839 |
| C# | 76 | 4983 | 3955 | 235 | 793 |
| XML | 25 | 3825 | 2559 | 1266 | 0 |
| CMake | 45 | 2764 | 2217 | 164 | 383 |
| Autoconf | 13 | 1631 | 1423 | 38 | 170 |
| XAML | 27 | 1351 | 1255 | 33 | 63 |
| C++ Header | 18 | 2071 | 1249 | 365 | 457 |
| PowerShell | 13 | 1596 | 1158 | 203 | 235 |
| Python | 8 | 1486 | 1078 | 56 | 352 |
| JSON | 3 | 563 | 563 | 0 | 0 |
| YAML | 1 | 412 | 343 | 1 | 68 |
Top language: C++ 64.2%. Generated on .
microsoft/WSL: 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.
microsoft/WSL has 134,700 lines of code, plus 28,175 comment lines and 29,486 blank lines, for 192,361 total lines at commit d91224d1c506 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit d91224d1c506, 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 d91224d1c506 on November 16, 2026.
Play the growth animation for microsoft/WSL on this page — 134,700 code lines across 21 languages, counted by tokei.