ocornut/imgui SLOC report
As of 2026-07-28 (commit a9e7a8c880cf), ocornut/imgui contains 113,441 total lines: 78,500 code, 23,032 comments, 11,909 blank, across 207 files in 19 languages (top: C++ 71.9%). Counted with tokei via OctoCounts.
Repository size insights
This is a medium-sized codebase by counted code lines. Code represents 69.2% of all lines, comments represent 20.3%, and the repository averages 379 code lines per file. C++ accounts for 71.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ | 53 | 76785 | 56452 | 12260 | 8073 |
| C Header | 38 | 24011 | 12805 | 8873 | 2333 |
| Visual Studio Project | 22 | 4052 | 4052 | 0 | 0 |
| Objective-C++ | 10 | 4065 | 2825 | 609 | 631 |
| Makefile | 20 | 1311 | 741 | 280 | 290 |
| 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++ 71.9%). Generated at 2026-07-28T05:25:46.303106300+00:00.
Report FAQ
How many lines of code does ocornut/imgui have?
ocornut/imgui has 113,441 total lines, including 78,500 code lines, 23,032 comment lines, and 11,909 blank lines.
How was the ocornut/imgui line count measured?
OctoCounts resolved the public GitHub repository to commit a9e7a8c880cf, 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 master at commit a9e7a8c880cf on 2026-07-28T05:25:46.303106300+00:00.