# microsoft/DirectXTex SLOC report

> microsoft/DirectXTex: 73,557 code lines at commit 6e88c1c52e97, counted with tokei-15.0.0 on 2026-11-16. Saved result 5b291803d1c3343ae461e46dc4a7d45c7eba3d484598f81f52e073ad25f8c5dd.

Source: [microsoft/DirectXTex on GitHub](https://github.com/microsoft/DirectXTex) · counted commit [6e88c1c52e97](https://github.com/microsoft/DirectXTex/tree/6e88c1c52e977cfd9c30671240f7995cba6d4968)

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

OctoCounts produced this report by resolving microsoft/DirectXTex to commit 6e88c1c52e97, 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,820 | 49,405 | 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 16, 2026. Canonical report: https://octocounts.com/github/microsoft/DirectXTex/commit/6e88c1c52e977cfd9c30671240f7995cba6d4968?reportId=5b291803d1c3343ae461e46dc4a7d45c7eba3d484598f81f52e073ad25f8c5dd&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/DirectXTex/commit/6e88c1c52e977cfd9c30671240f7995cba6d4968?reportId=5b291803d1c3343ae461e46dc4a7d45c7eba3d484598f81f52e073ad25f8c5dd&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/DirectXTex have?

microsoft/DirectXTex has 73,557 lines of code, plus 6,900 comment lines and 11,813 blank lines, for 92,270 total lines at commit 6e88c1c52e97 on November 16, 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 6e88c1c52e97, 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 6e88c1c52e97 on November 16, 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,272 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
- [vnikme/autoproto](https://octocounts.com/github/vnikme/autoproto) — C++, 75,689 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
