ggml-org/whisper.cpp has 591,996 source lines of code out of 755,810 total lines across 1,864 files, counted with tokei from the master ref at commit aba02defd6bb on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit aba02defd6bb), ggml-org/whisper.cpp contains 755,810 total lines: 591,996 code, 55,144 comments, 108,670 blank, across 1,864 files in 38 languages (top language: C++ 35.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving ggml-org/whisper.cpp to commit aba02defd6bb, 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.
This is a large codebase by counted code lines. Code represents 78.3% of all lines, comments represent 7.3%, and the repository averages 318 code lines per file. C++ accounts for 35.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 311 | 265171 | 211780 | 15516 | 37875 |
| C Header | 244 | 158524 | 118557 | 18193 | 21774 |
| C | 121 | 103221 | 81150 | 5979 | 16092 |
| OpenCL | 269 | 58638 | 51048 | 0 | 7590 |
| C++ Header | 85 | 45432 | 33539 | 5798 | 6095 |
| CUDA | 193 | 29271 | 23708 | 1445 | 4118 |
| GLSL | 192 | 25205 | 20252 | 866 | 4087 |
| Metal Shading Language | 38 | 14266 | 10995 | 537 | 2734 |
| WebGPU Shader Language | 44 | 7125 | 5777 | 226 | 1122 |
| CMake | 72 | 7089 | 5512 | 561 | 1016 |
| Shell | 41 | 7015 | 5380 | 794 | 841 |
| JSON | 14 | 4706 | 4697 | 0 | 9 |
Top language: C++ 35.8%. Generated on .
ggml-org/whisper.cpp: 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.
ggml-org/whisper.cpp has 591,996 lines of code, plus 55,144 comment lines and 108,670 blank lines, for 755,810 total lines at commit aba02defd6bb on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit aba02defd6bb, 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 master at commit aba02defd6bb on November 16, 2026.
Play the growth animation for ggml-org/whisper.cpp on this page — 591,996 code lines across 38 languages, counted by tokei.