# ocornut/imgui SLOC report

> As of 2026-10-15 (commit 4c9c888fc5f5), ocornut/imgui contains 118,287 total lines: 82,172 code, 23,674 comments, 12,441 blank, across 229 files in 19 languages (top: C++ 72.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

ocornut/imgui has 82,172 source lines of code out of 118,287 total lines across 229 files, counted from the master ref at commit 4c9c888fc5f5 by the OctoCounts tokei engine on 2026-10-15. 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 4c9c888fc5f5, 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.5% of all lines, comments represent 20.0%, and the repository averages 359 code lines per file. C++ accounts for 72.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 56 | 80,787 | 59,604 | 12,702 | 8,481 |
| C Header | 39 | 24,258 | 12,937 | 8,965 | 2,356 |
| Visual Studio Project | 22 | 4,096 | 4,096 | 0 | 0 |
| Objective-C++ | 11 | 4,402 | 3,050 | 662 | 690 |
| 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.5%). Generated at 2026-10-15T14:06:20.850075396+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/4c9c888fc5f5fec3de99de61e05dcfc86259394a?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&reportId=b3a9bb81c6b5b70d8e7b79cdaa5e75359612a8d2922c867baba1d107724d230b).

## Report FAQ

### How many lines of code does ocornut/imgui have?

ocornut/imgui has 118,287 total lines, including 82,172 code lines, 23,674 comment lines, and 12,441 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 4c9c888fc5f5, 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 4c9c888fc5f5 on 2026-10-15T14:06:20.850075396+00:00.

## Similar repository reports

- [LizardByte/Sunshine](https://octocounts.com/github/LizardByte/Sunshine) — C++, 81,243 code lines
- [noctalia-dev/umbriel](https://octocounts.com/github/noctalia-dev/umbriel) — C++, 79,408 code lines
- [ModOrganizer2/modorganizer](https://octocounts.com/github/ModOrganizer2/modorganizer) — C++, 79,299 code lines
- [endless-sky/endless-sky](https://octocounts.com/github/endless-sky/endless-sky) — C++, 85,272 code lines
- [ghboke/core-ui](https://octocounts.com/github/ghboke/core-ui) — C++, 85,925 code lines
- [jswysnemc/mark-shot](https://octocounts.com/github/jswysnemc/mark-shot) — C++, 78,497 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)
