microsoft/windows-rs SLOC report

As of 2026-07-16 (commit a4f924122bcd), microsoft/windows-rs contains 1,981,570 total lines: 1,942,062 code, 6,492 comments, 33,016 blank, across 2,775 files in 14 languages (top: Rust 96.3%). Counted with tokei via OctoCounts.

As of 2026-07-16 (commit a4f924122bcd), microsoft/windows-rs contains 1,981,570 total lines: 1,942,062 code, 6,492 comments, 33,016 blank, across 2,775 files in 14 languages (top: Rust 96.3%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/windows-rs to commit a4f924122bcd, 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 very large codebase by counted code lines. Code represents 98.0% of all lines, comments represent 0.3%, and the repository averages 700 code lines per file. Rust accounts for 96.3% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Rust219218832721869888311110273
C Header57035347546101121796
C374205672056700
TOML1103745336129355
C++4351288360
C#31891491228
XML4868600
PowerShell1113792212
MSBuild3414100
HTML2353500
HLSL1201604
Batch16600

Top language (Rust 96.3%). Generated at 2026-07-16T17:16:11.465471298+00:00.

Report FAQ

How many lines of code does microsoft/windows-rs have?

microsoft/windows-rs has 1,981,570 total lines, including 1,942,062 code lines, 6,492 comment lines, and 33,016 blank lines.

How was the microsoft/windows-rs line count measured?

OctoCounts resolved the public GitHub repository to commit a4f924122bcd, 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/windows-rs?

This OctoCounts report was generated from master at commit a4f924122bcd on 2026-07-16T17:16:11.465471298+00:00.

Similar repository reports

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