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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Rust | 2192 | 1883272 | 1869888 | 3111 | 10273 |
| C Header | 5 | 70353 | 47546 | 1011 | 21796 |
| C | 374 | 20567 | 20567 | 0 | 0 |
| TOML | 110 | 3745 | 3361 | 29 | 355 |
| C++ | 4 | 351 | 288 | 3 | 60 |
| C# | 3 | 189 | 149 | 12 | 28 |
| XML | 4 | 86 | 86 | 0 | 0 |
| PowerShell | 1 | 113 | 79 | 22 | 12 |
| MSBuild | 3 | 41 | 41 | 0 | 0 |
| HTML | 2 | 35 | 35 | 0 | 0 |
| HLSL | 1 | 20 | 16 | 0 | 4 |
| Batch | 1 | 6 | 6 | 0 | 0 |
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.