# microsoft/qdk SLOC report

> microsoft/qdk: 516,256 code lines at commit babfd7a83a26, counted with tokei-15.0.0 on 2026-11-15. Saved result 2b77d88260c9888428f76de046ba81b05fd5d2b1a8673ca7e029f18de35d2325.

microsoft/qdk has 516,256 source lines of code out of 616,825 total lines across 2,056 files, counted with tokei from the main ref at commit babfd7a83a26 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

## Counting rules and retention

microsoft/qdk: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 83.7% of all lines, comments represent 7.5%, and the repository averages 251 code lines per file. Rust accounts for 69.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 680 | 400,499 | 357,550 | 13,283 | 29,666 |
| Python | 290 | 73,894 | 62,571 | 2,522 | 8,801 |
| TypeScript | 172 | 40,049 | 29,466 | 6,790 | 3,793 |
| JSON | 60 | 19,230 | 19,230 | 0 | 0 |
| C | 26 | 14,028 | 9,989 | 2,286 | 1,753 |
| LLVM | 77 | 9,300 | 8,071 | 76 | 1,153 |
| TSX | 30 | 9,354 | 7,764 | 851 | 739 |
| Jupyter Notebooks | 49 | 7,859 | 5,120 | 1,759 | 980 |
| OpenQASM | 13 | 3,926 | 3,499 | 259 | 168 |
| C Header | 11 | 4,834 | 2,989 | 1,123 | 722 |
| CSS | 11 | 3,522 | 2,599 | 531 | 392 |
| SVG | 28 | 2,469 | 2,277 | 158 | 34 |
| WebGPU Shader Language | 1 | 3,717 | 2,269 | 1,008 | 440 |
| JavaScript | 11 | 2,005 | 1,564 | 222 | 219 |
| TOML | 42 | 1,470 | 1,229 | 21 | 220 |
| HTML | 3 | 54 | 52 | 2 | 0 |
| YAML | 1 | 11 | 11 | 0 | 0 |
| Bitbake | 1 | 5 | 4 | 0 | 1 |
| Autoconf | 1 | 2 | 2 | 0 | 0 |
| Markdown | 537 | 20,460 | 0 | 14,949 | 5,511 |
| Plain Text | 12 | 137 | 0 | 121 | 16 |

Top language: Rust 69.3%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/microsoft/qdk/commit/babfd7a83a2601cb8ce03fc4e133fbf95e6f22fc?reportId=2b77d88260c9888428f76de046ba81b05fd5d2b1a8673ca7e029f18de35d2325&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/microsoft/qdk/commit/babfd7a83a2601cb8ce03fc4e133fbf95e6f22fc?reportId=2b77d88260c9888428f76de046ba81b05fd5d2b1a8673ca7e029f18de35d2325&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does microsoft/qdk have?

microsoft/qdk has 516,256 lines of code, plus 45,961 comment lines and 54,608 blank lines, for 616,825 total lines at commit babfd7a83a26 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the microsoft/qdk line count measured?

OctoCounts resolved the public GitHub repository to commit babfd7a83a26, 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/qdk?

This OctoCounts report was generated from main at commit babfd7a83a26 on November 15, 2026.

## Similar repository reports

- [nirholas/pump-fun-sdk](https://octocounts.com/github/nirholas/pump-fun-sdk) — Rust, 517,338 code lines
- [dginev/latexml-oxide](https://octocounts.com/github/dginev/latexml-oxide) — Rust, 514,615 code lines
- [bevyengine/bevy](https://octocounts.com/github/bevyengine/bevy) — Rust, 518,523 code lines
- [0xPlaygrounds/rig](https://octocounts.com/github/0xPlaygrounds/rig) — Rust, 510,173 code lines
- [opengeos/RustGIS](https://octocounts.com/github/opengeos/RustGIS) — Rust, 525,513 code lines
- [farion1231/cc-switch](https://octocounts.com/github/farion1231/cc-switch) — Rust, 506,479 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
