# microsoft/DirectXTex SLOC report

> As of 2026-11-12 (commit 091723fbecaa), microsoft/DirectXTex contains 92,264 total lines: 73,551 code, 6,900 comments, 11,813 blank, across 107 files in 9 languages (top language: C++ 67.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

microsoft/DirectXTex has 73,551 source lines of code out of 92,264 total lines across 107 files, counted with tokei from the main ref at commit 091723fbecaa on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving microsoft/DirectXTex to commit 091723fbecaa, 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/DirectXTex: 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 medium-sized codebase by counted code lines. Code represents 79.7% of all lines, comments represent 7.5%, and the repository averages 687 code lines per file. C++ accounts for 67.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 46 | 61,814 | 49,399 | 3,271 | 9,144 |
| C Header | 22 | 13,624 | 11,303 | 1,002 | 1,319 |
| Visual Studio Project | 18 | 7,508 | 7,506 | 2 | 0 |
| HLSL | 3 | 4,598 | 3,980 | 304 | 314 |
| CMake | 1 | 755 | 603 | 21 | 131 |
| JSON | 1 | 446 | 414 | 0 | 32 |
| C++ Header | 1 | 295 | 228 | 28 | 39 |
| Batch | 2 | 148 | 118 | 0 | 30 |
| Markdown | 13 | 3,076 | 0 | 2,272 | 804 |

Top language: C++ 67.2%. Generated on November 12, 2026. Canonical report: https://octocounts.com/github/microsoft/DirectXTex

## Reproduce this report

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

## Report FAQ

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

microsoft/DirectXTex has 73,551 lines of code, plus 6,900 comment lines and 11,813 blank lines, for 92,264 total lines at commit 091723fbecaa on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 091723fbecaa, 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/DirectXTex?

This OctoCounts report was generated from main at commit 091723fbecaa on November 12, 2026.

## Similar repository reports

- [Cyxuan0311/FTB](https://octocounts.com/github/Cyxuan0311/FTB) — C++, 74,013 code lines
- [kirito632/HighPerf-Distributed-IM](https://octocounts.com/github/kirito632/HighPerf-Distributed-IM) — C++, 74,438 code lines
- [uncrustify/uncrustify](https://octocounts.com/github/uncrustify/uncrustify) — C++, 72,271 code lines
- [ro99/strata](https://octocounts.com/github/ro99/strata) — C++, 75,538 code lines
- [rochus-keller/Oberon](https://octocounts.com/github/rochus-keller/Oberon) — C++, 71,593 code lines
- [LTSharpe/OblivionRemasteredPerformanceFix](https://octocounts.com/github/LTSharpe/OblivionRemasteredPerformanceFix) — C++, 76,517 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
