ocornut/imgui

ocornut/imgui has 82,526 source lines of code out of 118,767 total lines across 224 files, counted with tokei from the master ref at commit 8c36ecfb6173 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-13 (commit 8c36ecfb6173), ocornut/imgui contains 118,767 total lines: 82,526 code, 23,734 comments, 12,507 blank, across 224 files in 19 languages (top language: C++ 72.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-13 (commit 8c36ecfb6173), ocornut/imgui contains 118,767 total lines: 82,526 code, 23,734 comments, 12,507 blank, across 224 files in 19 languages (top language: C++ 72.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving ocornut/imgui to commit 8c36ecfb6173, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

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 368 code lines per file. C++ accounts for 72.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++568083559620127248491
C Header39245371314590052387
Visual Studio Project224100410000
Objective-C++1144243070660694
Makefile351450860281309
CMake5806548141117
C163636619476
Batch21387336051
Visual Studio Solution122122001
Python11891181952
GLSL47966013
Kotlin1403037

Top language: C++ 72.2%. Generated on .

Counting rules and retention

ocornut/imgui: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does ocornut/imgui have?

ocornut/imgui has 82,526 lines of code, plus 23,734 comment lines and 12,507 blank lines, for 118,767 total lines at commit 8c36ecfb6173 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the ocornut/imgui line count measured?

OctoCounts resolved the public GitHub repository to commit 8c36ecfb6173, 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 8c36ecfb6173 on November 13, 2026.

Play the growth animation for ocornut/imgui on this page — 82,526 code lines across 19 languages, counted by tokei.