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.
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 | 78732 | 58023 | 12445 | 8264 |
| C Header | 39 | 24087 | 12833 | 8911 | 2343 |
| Visual Studio Project | 22 | 4096 | 4096 | 0 | 0 |
| Objective-C++ | 11 | 4342 | 2998 | 660 | 684 |
| Makefile | 35 | 1450 | 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 .
ocornut/imgui has 116,001 total lines, including 80,435 code lines, 23,361 comment lines, and 12,205 blank lines.
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.
This OctoCounts report was generated from e0a2f6dea98f76a793a6e62a2bdb7ee9b29f5add at commit e0a2f6dea98f on 2026-09-11T04:43:00.247334394+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: