# ValveSoftware/gamescope SLOC report

> As of 2026-09-18 (commit c50ddfa9b71a), ValveSoftware/gamescope contains 97,710 total lines: 76,396 code, 6,898 comments, 14,416 blank, across 188 files in 13 languages (top: C++ 45.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

ValveSoftware/gamescope has 76,396 source lines of code out of 97,710 total lines across 188 files, counted from the c50ddfa9b71a75ec8df94bda8cf31d425dbdda24 ref at commit c50ddfa9b71a by the OctoCounts tokei engine on 2026-09-18. 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 ValveSoftware/gamescope to commit c50ddfa9b71a, 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 medium-sized codebase by counted code lines. Code represents 78.2% of all lines, comments represent 7.1%, and the repository averages 406 code lines per file. C++ accounts for 45.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 39 | 43,591 | 34,348 | 2,231 | 7,012 |
| C++ Header | 21 | 34,056 | 27,492 | 1,737 | 4,827 |
| C Header | 61 | 13,015 | 9,259 | 2,309 | 1,447 |
| XML | 13 | 3,495 | 3,066 | 3 | 426 |
| Lua | 13 | 1,060 | 835 | 75 | 150 |
| GLSL | 13 | 891 | 653 | 52 | 186 |
| Meson | 7 | 479 | 390 | 11 | 78 |
| Shell | 13 | 222 | 136 | 22 | 64 |
| C | 1 | 155 | 126 | 2 | 27 |
| HLSL | 1 | 111 | 67 | 25 | 19 |
| Autoconf | 2 | 26 | 24 | 1 | 1 |
| Markdown | 3 | 589 | 0 | 410 | 179 |

Top language (C++ 45.0%). Generated at 2026-09-18T05:19:30.215376684+00:00. Canonical report: https://octocounts.com/github/ValveSoftware/gamescope

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ValveSoftware/gamescope/commit/c50ddfa9b71a75ec8df94bda8cf31d425dbdda24?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).

## Report FAQ

### How many lines of code does ValveSoftware/gamescope have?

ValveSoftware/gamescope has 97,710 total lines, including 76,396 code lines, 6,898 comment lines, and 14,416 blank lines.

### How was the ValveSoftware/gamescope line count measured?

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

### What commit was counted for ValveSoftware/gamescope?

This OctoCounts report was generated from c50ddfa9b71a75ec8df94bda8cf31d425dbdda24 at commit c50ddfa9b71a on 2026-09-18T05:19:30.215376684+00:00.

## Similar repository reports

- [ocornut/imgui](https://octocounts.com/github/ocornut/imgui) — C++, 80,435 code lines
- [uncrustify/uncrustify](https://octocounts.com/github/uncrustify/uncrustify) — C++, 71,664 code lines
- [nu774/qaac](https://octocounts.com/github/nu774/qaac) — C++, 83,960 code lines
- [Nodesclock/Blinker-fluid](https://octocounts.com/github/Nodesclock/Blinker-fluid) — C++, 68,408 code lines
- [ClassicOldSong/Apollo](https://octocounts.com/github/ClassicOldSong/Apollo) — C++, 65,097 code lines
- [NVIDIA/NeMo-Speech.cpp](https://octocounts.com/github/NVIDIA/NeMo-Speech.cpp) — C++, 64,215 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)
