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.
ggml-org/whisper.cpp: 591,996 code lines at commit aba02defd6bb, counted with tokei-15.0.0 on 2026-11-16. Saved result c6d7fe82070c2796a44f7cd682cf0a79f3a83730ab37208782d61ecd4a715072.
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 |
| Templ | 7 | 4486 | 3935 | 37 | 514 |
| Objective-C | 9 | 4482 | 3211 | 387 | 884 |
| Python | 20 | 3623 | 2573 | 389 | 661 |
| JavaScript | 11 | 2531 | 1735 | 343 | 453 |
| Go | 18 | 2423 | 1651 | 373 | 399 |
| Java | 42 | 2661 | 1611 | 551 | 499 |
| Kotlin | 11 | 920 | 762 | 44 | 114 |
| Ruby | 9 | 708 | 597 | 7 | 104 |
| XML | 20 | 655 | 592 | 42 | 21 |
| HTML | 5 | 724 | 582 | 13 | 129 |
| Swift | 8 | 690 | 579 | 23 | 88 |
| Batch | 7 | 511 | 400 | 0 | 111 |
| Vim Script | 1 | 362 | 320 | 27 | 15 |
| Autoconf | 11 | 364 | 287 | 20 | 57 |
| PowerShell | 2 | 232 | 194 | 3 | 35 |
| Makefile | 3 | 168 | 134 | 11 | 23 |
| YAML | 1 | 166 | 124 | 12 | 30 |
| Rakefile | 1 | 111 | 95 | 0 | 16 |
| LD Script | 1 | 85 | 54 | 17 | 14 |
| Objective-C++ | 1 | 73 | 52 | 3 | 18 |
| CSS | 2 | 56 | 43 | 3 | 10 |
| Prolog | 2 | 42 | 36 | 0 | 6 |
| BASH | 1 | 40 | 19 | 13 | 8 |
| GNU Style Assembly | 1 | 15 | 15 | 0 | 0 |
| Markdown | 40 | 3566 | 0 | 2529 | 1037 |
| Plain Text | 6 | 453 | 0 | 382 | 71 |
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.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for ggml-org/whisper.cpp on this page — 591,996 code lines across 38 languages, counted by tokei.