# 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%). Counted with tokei via OctoCounts.

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

## 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

- [UnitTestBot/klee](https://octocounts.com/github/UnitTestBot/klee) — C++, 79,595 code lines
- [MSNightmare/RoguePlanet](https://octocounts.com/github/MSNightmare/RoguePlanet) — C++, 78,736 code lines
- [ValveSoftware/gamescope](https://octocounts.com/github/ValveSoftware/gamescope) — C++, 73,667 code lines
- [Murmele/Gittyup](https://octocounts.com/github/Murmele/Gittyup) — C++, 90,490 code lines
- [aria2/aria2](https://octocounts.com/github/aria2/aria2) — C++, 94,545 code lines
- [78/xiaozhi-esp32](https://octocounts.com/github/78/xiaozhi-esp32) — C++, 95,271 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
