# glfw/glfw SLOC report

> As of 2026-09-06 (commit e7ea71be0398), glfw/glfw contains 101,547 total lines: 74,409 code, 17,119 comments, 10,019 blank, across 113 files in 7 languages (top: C Header 56.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

glfw/glfw has 74,409 source lines of code out of 101,547 total lines across 113 files, counted from the e7ea71be039836da3a98cea55ae5569cb5eb885c ref at commit e7ea71be0398 by the OctoCounts tokei engine on 2026-09-06. 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 glfw/glfw to commit e7ea71be0398, 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 73.3% of all lines, comments represent 16.9%, and the repository averages 658 code lines per file. C Header accounts for 56.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 33 | 58,788 | 41,667 | 13,189 | 3,932 |
| C | 48 | 31,393 | 23,599 | 3,102 | 4,692 |
| XML | 9 | 5,717 | 5,242 | 11 | 464 |
| Objective-C | 5 | 4,273 | 3,206 | 324 | 743 |
| CMake | 9 | 705 | 520 | 65 | 120 |
| Autoconf | 6 | 195 | 175 | 7 | 13 |
| Markdown | 3 | 476 | 0 | 421 | 55 |

Top language (C Header 56.0%). Generated at 2026-09-06T09:17:42.863770974+00:00. Canonical report: https://octocounts.com/github/glfw/glfw

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/glfw/glfw/commit/e7ea71be039836da3a98cea55ae5569cb5eb885c?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 glfw/glfw have?

glfw/glfw has 101,547 total lines, including 74,409 code lines, 17,119 comment lines, and 10,019 blank lines.

### How was the glfw/glfw line count measured?

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

### What commit was counted for glfw/glfw?

This OctoCounts report was generated from e7ea71be039836da3a98cea55ae5569cb5eb885c at commit e7ea71be0398 on 2026-09-06T09:17:42.863770974+00:00.

## Similar repository reports

- [picovoice/porcupine](https://octocounts.com/github/picovoice/porcupine) — C Header, 73,133 code lines
- [bdth-7777777/OLED_UI](https://octocounts.com/github/bdth-7777777/OLED_UI) — C Header, 75,709 code lines
- [Storm611/KG_sem4](https://octocounts.com/github/Storm611/KG_sem4) — C Header, 76,804 code lines
- [SciCompMod/memilio](https://octocounts.com/github/SciCompMod/memilio) — C Header, 67,429 code lines
- [PufferAI/PufferLib](https://octocounts.com/github/PufferAI/PufferLib) — C Header, 65,739 code lines
- [pufferai/pufferlib](https://octocounts.com/github/pufferai/pufferlib) — C Header, 65,739 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)
- [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)
