# ocornut/imgui SLOC report

> As of 2026-09-11 (commit e0a2f6dea98f), ocornut/imgui contains 116,001 total lines: 80,435 code, 23,361 comments, 12,205 blank, across 229 files in 19 languages (top: C++ 72.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

ocornut/imgui has 80,435 source lines of code out of 116,001 total lines across 229 files, counted from the e0a2f6dea98f76a793a6e62a2bdb7ee9b29f5add ref at commit e0a2f6dea98f by the OctoCounts tokei engine on 2026-09-11. 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 ocornut/imgui to commit e0a2f6dea98f, 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 69.3% of all lines, comments represent 20.1%, and the repository averages 351 code lines per file. C++ accounts for 72.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 56 | 78,732 | 58,023 | 12,445 | 8,264 |
| C Header | 39 | 24,087 | 12,833 | 8,911 | 2,343 |
| Visual Studio Project | 22 | 4,096 | 4,096 | 0 | 0 |
| Objective-C++ | 11 | 4,342 | 2,998 | 660 | 684 |
| Makefile | 35 | 1,450 | 860 | 281 | 309 |
| CMake | 5 | 806 | 548 | 141 | 117 |
| C | 1 | 636 | 366 | 194 | 76 |
| Batch | 26 | 260 | 230 | 0 | 30 |
| Visual Studio Solution | 1 | 221 | 220 | 0 | 1 |
| Python | 1 | 189 | 118 | 19 | 52 |
| GLSL | 4 | 79 | 66 | 0 | 13 |
| Kotlin | 1 | 40 | 30 | 3 | 7 |

Top language (C++ 72.1%). Generated at 2026-09-11T04:43:00.247334394+00:00. Canonical report: https://octocounts.com/github/ocornut/imgui

## Reproduce this report

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

ocornut/imgui has 116,001 total lines, including 80,435 code lines, 23,361 comment lines, and 12,205 blank lines.

### How was the ocornut/imgui line count measured?

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

### What commit was counted for ocornut/imgui?

This OctoCounts report was generated from e0a2f6dea98f76a793a6e62a2bdb7ee9b29f5add at commit e0a2f6dea98f on 2026-09-11T04:43:00.247334394+00:00.

## Similar repository reports

- [nu774/qaac](https://octocounts.com/github/nu774/qaac) — C++, 83,960 code lines
- [ValveSoftware/gamescope](https://octocounts.com/github/ValveSoftware/gamescope) — C++, 76,396 code lines
- [uncrustify/uncrustify](https://octocounts.com/github/uncrustify/uncrustify) — C++, 71,664 code lines
- [Murmele/Gittyup](https://octocounts.com/github/Murmele/Gittyup) — C++, 90,490 code lines
- [Nodesclock/Blinker-fluid](https://octocounts.com/github/Nodesclock/Blinker-fluid) — C++, 68,408 code lines
- [aria2/aria2](https://octocounts.com/github/aria2/aria2) — C++, 94,545 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)
