# KhronosGroup/Vulkan-Samples SLOC report

> KhronosGroup/Vulkan-Samples: 187,064 code lines at commit b69afa54965d, counted with tokei-14.0.0 on 2026-10-21. Saved result e6dbf1f0c11cf0b073b6d1bf45d6af194282dd625a7fb683932bb7aa7b963063.

KhronosGroup/Vulkan-Samples has 187,064 source lines of code out of 262,826 total lines across 1,488 files, counted from the main ref at commit b69afa54965d by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving KhronosGroup/Vulkan-Samples to commit b69afa54965d, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## 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++ | 237 | 103,816 | 75,944 | 11,781 | 16,091 |
| C++ Header | 15 | 35,892 | 34,647 | 394 | 851 |
| C Header | 294 | 51,207 | 33,458 | 10,421 | 7,328 |
| AsciiDoc | 141 | 21,426 | 13,045 | 2,963 | 5,418 |
| GLSL | 309 | 17,701 | 9,402 | 5,842 | 2,457 |
| CMake | 150 | 9,731 | 6,201 | 2,529 | 1,001 |
| 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 | 763 | 571 | 60 | 132 |
| SVG | 6 | 481 | 373 | 102 | 6 |
| Python | 3 | 517 | 365 | 53 | 99 |
| Objective-C++ | 5 | 422 | 267 | 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 | 15 | 12 | 2 | 1 |

Top language (C++ 40.6%). Generated at 2026-10-21T02:07:08.500881715Z. Canonical report: https://octocounts.com/github/KhronosGroup/Vulkan-Samples/commit/b69afa54965dbfb18f04a4a0baccf98b88c6de37?reportId=e6dbf1f0c11cf0b073b6d1bf45d6af194282dd625a7fb683932bb7aa7b963063&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/b69afa54965dbfb18f04a4a0baccf98b88c6de37?reportId=e6dbf1f0c11cf0b073b6d1bf45d6af194282dd625a7fb683932bb7aa7b963063&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 262,826 total lines, including 187,064 code lines, 40,193 comment lines, and 35,569 blank lines.

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

OctoCounts resolved the public GitHub repository to commit b69afa54965d, 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 b69afa54965d on 2026-10-21T02:07:08.500881715Z.

## Similar repository reports

- [SaschaWillems/Vulkan](https://octocounts.com/github/SaschaWillems/Vulkan) — C++, 188,246 code lines
- [aseprite/aseprite](https://octocounts.com/github/aseprite/aseprite) — C++, 184,152 code lines
- [Cherryluoying/Sky-Music-Play-Next](https://octocounts.com/github/Cherryluoying/Sky-Music-Play-Next) — C++, 179,992 code lines
- [openscad/openscad](https://octocounts.com/github/openscad/openscad) — C++, 194,782 code lines
- [SaschaWillems/vulkan](https://octocounts.com/github/SaschaWillems/vulkan) — C++, 174,924 code lines
- [FlightGear/simgear](https://octocounts.com/github/FlightGear/simgear) — C++, 201,050 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)
- [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)
