microsoft/WSL SLOC report

As of 2026-08-01 (commit e7197ca7774a), microsoft/WSL contains 328,348 total lines: 213,723 code, 57,680 comments, 56,945 blank, across 1,252 files in 25 languages (top: C++ 55.8%). Counted with tokei via OctoCounts.

As of 2026-08-01 (commit e7197ca7774a), microsoft/WSL contains 328,348 total lines: 213,723 code, 57,680 comments, 56,945 blank, across 1,252 files in 25 languages (top: C++ 55.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/WSL to commit e7197ca7774a, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 65.1% of all lines, comments represent 17.6%, and the repository averages 171 code lines per file. C++ accounts for 55.8% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++3571675831192982028927996
C6286138467102252816900
C Header324457393107270337634
C#7649373889256792
XML253825255912660
CMake4826752134167374
Python112021151871432
Autoconf141554135532167
PowerShell1817691279220270
XAML26127411813261
C++ Header1717261109222395
JSON352052000

Top language (C++ 55.8%). Generated at .

Report FAQ

How many lines of code does microsoft/WSL have?

microsoft/WSL has 328,348 total lines, including 213,723 code lines, 57,680 comment lines, and 56,945 blank lines.

How was the microsoft/WSL line count measured?

OctoCounts resolved the public GitHub repository to commit e7197ca7774a, 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 e7197ca7774a on 2026-08-01T22:40:18.567435588+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: