# KhronosGroup/Vulkan-Samples SLOC report

> KhronosGroup/Vulkan-Samples: 187,075 code lines at commit 0a97dba1e71b, counted with tokei-15.0.0 on 2026-11-16. Saved result 5700a25bf239c347d5feca0f094c72407f52f986048b23c597318e3a598f1bb9.

KhronosGroup/Vulkan-Samples has 187,075 source lines of code out of 262,808 total lines across 1,487 files, counted with tokei from the main ref at commit 0a97dba1e71b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving KhronosGroup/Vulkan-Samples to commit 0a97dba1e71b, 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

KhronosGroup/Vulkan-Samples: 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 71.2% of all lines, comments represent 15.3%, and the repository averages 126 code lines per file. C++ accounts for 40.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 236 | 103,788 | 75,939 | 11,768 | 16,081 |
| C++ Header | 15 | 35,892 | 34,647 | 394 | 851 |
| C Header | 294 | 51,192 | 33,463 | 10,416 | 7,313 |
| AsciiDoc | 141 | 21,446 | 13,053 | 2,975 | 5,418 |
| GLSL | 309 | 17,701 | 9,402 | 5,842 | 2,457 |
| CMake | 150 | 9,735 | 6,203 | 2,530 | 1,002 |
| Slang | 158 | 8,933 | 5,098 | 2,862 | 973 |
| HLSL | 121 | 6,708 | 3,825 | 2,139 | 744 |
| C | 1 | 2,534 | 2,445 | 36 | 53 |
| Java | 13 | 1,627 | 876 | 506 | 245 |
| Autoconf | 14 | 759 | 571 | 56 | 132 |
| SVG | 6 | 481 | 373 | 102 | 6 |
| Python | 3 | 517 | 365 | 53 | 99 |
| Objective-C++ | 5 | 421 | 266 | 87 | 68 |
| XML | 12 | 458 | 216 | 218 | 24 |
| Shell | 1 | 252 | 107 | 119 | 26 |
| Batch | 1 | 94 | 73 | 0 | 21 |
| JSON | 1 | 72 | 72 | 0 | 0 |
| Objective-C | 2 | 102 | 34 | 46 | 22 |
| OpenCL | 2 | 75 | 33 | 33 | 9 |
| YAML | 2 | 21 | 14 | 6 | 1 |

Top language: C++ 40.6%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/KhronosGroup/Vulkan-Samples/commit/0a97dba1e71b8fa191afb012b784ebad477ccf5a?reportId=5700a25bf239c347d5feca0f094c72407f52f986048b23c597318e3a598f1bb9&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/KhronosGroup/Vulkan-Samples/commit/0a97dba1e71b8fa191afb012b784ebad477ccf5a?reportId=5700a25bf239c347d5feca0f094c72407f52f986048b23c597318e3a598f1bb9&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 KhronosGroup/Vulkan-Samples have?

KhronosGroup/Vulkan-Samples has 187,075 lines of code, plus 40,188 comment lines and 35,545 blank lines, for 262,808 total lines at commit 0a97dba1e71b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the KhronosGroup/Vulkan-Samples line count measured?

OctoCounts resolved the public GitHub repository to commit 0a97dba1e71b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for KhronosGroup/Vulkan-Samples?

This OctoCounts report was generated from main at commit 0a97dba1e71b on November 16, 2026.

## Similar repository reports

- [KytyPS5/KytyPS5](https://octocounts.com/github/KytyPS5/KytyPS5) — C++, 187,627 code lines
- [SaschaWillems/Vulkan](https://octocounts.com/github/SaschaWillems/Vulkan) — C++, 189,073 code lines
- [aseprite/aseprite](https://octocounts.com/github/aseprite/aseprite) — C++, 184,168 code lines
- [facebookresearch/faiss](https://octocounts.com/github/facebookresearch/faiss) — C++, 190,964 code lines
- [Mogara/QSanguosha](https://octocounts.com/github/Mogara/QSanguosha) — C++, 193,901 code lines
- [Cherryluoying/Sky-Music-Play-Next](https://octocounts.com/github/Cherryluoying/Sky-Music-Play-Next) — C++, 179,992 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)
