Kitware/CMake
Kitware/CMake has 1,300,486 source lines of code out of 1,774,919 total lines across 31,504 files, counted with tokei from the master ref at commit 4207edd6abca on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
Kitware/CMake: 1,300,486 code lines at commit 4207edd6abca, counted with tokei-15.0.0 on 2026-11-24. Saved result c5162a2aba22e0b82f82065ba3bf52fccd40c6768d7d83803f57bb077ee0b105.
Source: Kitware/CMake on GitHub · counted commit 4207edd6abca
OctoCounts produced this report by resolving Kitware/CMake to commit 4207edd6abca, 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 very large codebase by counted code lines. Code represents 73.3% of all lines, comments represent 14.2%, and the repository averages 41 code lines per file. C accounts for 28.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 1819 | 504456 | 373918 | 72373 | 58165 |
| C++ | 2106 | 385191 | 319205 | 25928 | 40058 |
| CMake | 12482 | 365418 | 285500 | 27240 | 52678 |
| C Header | 1733 | 200183 | 117859 | 56131 | 26193 |
| ReStructuredText | 2809 | 121160 | 89013 | 0 | 32147 |
| JSON | 278 | 58608 | 58608 | 0 | 0 |
| Autoconf | 841 | 32302 | 24946 | 3652 | 3704 |
| Vim Script | 2 | 5576 | 5536 | 15 | 25 |
| Python | 43 | 6538 | 5131 | 300 | 1107 |
| Happy | 4 | 3696 | 3204 | 0 | 492 |
| Shell | 30 | 2712 | 2323 | 170 | 219 |
| C++ Header | 113 | 3280 | 2287 | 381 | 612 |
| YAML | 1 | 2055 | 2027 | 5 | 23 |
| CUDA | 129 | 2366 | 1950 | 73 | 343 |
| BASH | 50 | 1997 | 1530 | 225 | 242 |
| Lex | 7 | 1315 | 952 | 177 | 186 |
| FORTRAN Modern | 92 | 972 | 777 | 37 | 158 |
| Bitbake | 2 | 445 | 405 | 24 | 16 |
| Dockerfile | 7 | 465 | 389 | 42 | 34 |
| Emacs Lisp | 1 | 522 | 375 | 86 | 61 |
| Java | 28 | 457 | 358 | 36 | 63 |
| Objective-C | 36 | 622 | 358 | 132 | 132 |
| GNU Style Assembly | 6 | 655 | 354 | 240 | 61 |
| C# | 27 | 374 | 305 | 35 | 34 |
| MSBuild | 7 | 313 | 298 | 12 | 3 |
| FORTRAN Legacy | 36 | 295 | 260 | 14 | 21 |
| XML | 15 | 264 | 258 | 4 | 2 |
| CSS | 1 | 332 | 248 | 32 | 52 |
| Visual Studio Project | 1 | 216 | 216 | 0 | 0 |
| Perl | 3 | 306 | 213 | 38 | 55 |
| Rust | 22 | 227 | 190 | 13 | 24 |
| Assembly | 16 | 194 | 174 | 1 | 19 |
| Pascal | 3 | 167 | 128 | 23 | 16 |
| Objective-C++ | 16 | 142 | 121 | 2 | 19 |
| .NET Resource | 2 | 178 | 119 | 59 | 0 |
| Swift | 30 | 111 | 98 | 0 | 13 |
| C++ Module | 15 | 114 | 94 | 0 | 20 |
| HTML | 4 | 95 | 90 | 0 | 5 |
| PowerShell | 2 | 127 | 85 | 23 | 19 |
| JavaScript | 2 | 90 | 83 | 0 | 7 |
| Module-Definition | 19 | 78 | 78 | 0 | 0 |
| Batch | 10 | 89 | 70 | 0 | 19 |
| SWIG | 12 | 84 | 57 | 9 | 18 |
| TCL | 2 | 118 | 55 | 27 | 36 |
| D | 13 | 49 | 46 | 0 | 3 |
| HLSL | 4 | 55 | 42 | 2 | 11 |
| XAML | 4 | 42 | 38 | 0 | 4 |
| M4 | 1 | 68 | 30 | 33 | 5 |
| Ruby | 1 | 49 | 22 | 13 | 14 |
| Visual Studio Solution | 1 | 21 | 21 | 0 | 0 |
| Protocol Buffers | 4 | 25 | 19 | 0 | 6 |
| R | 1 | 18 | 14 | 1 | 3 |
| Xcode Config | 4 | 4 | 4 | 0 | 0 |
| Makefile | 1 | 2 | 2 | 0 | 0 |
| Lua | 1 | 1 | 1 | 0 | 0 |
| Prolog | 1 | 1 | 1 | 0 | 0 |
| TeX | 1 | 1 | 1 | 0 | 0 |
| Markdown | 6 | 695 | 0 | 483 | 212 |
| Plain Text | 8597 | 68983 | 0 | 63347 | 5636 |
Top language: C 28.8%. Generated on .
Counting rules and retention
Kitware/CMake: 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
Report FAQ
How many lines of code does Kitware/CMake have?
Kitware/CMake has 1,300,486 lines of code, plus 251,438 comment lines and 222,995 blank lines, for 1,774,919 total lines at commit 4207edd6abca on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the Kitware/CMake line count measured?
OctoCounts resolved the public GitHub repository to commit 4207edd6abca, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for Kitware/CMake?
This OctoCounts report was generated from master at commit 4207edd6abca on November 24, 2026.
Similar repository reports
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
- ctrl-cheeb-del/pokeheartgold — C, 1,357,447 code lines
- SanjeevBashyal/OpenFOAM — C, 1,371,094 code lines
- qemu/qemu — C, 1,386,032 code lines
- apple-oss-distributions/xnu — C, 1,411,712 code lines
- cuesta4/GOW3rehooked — C, 1,182,238 code lines
- apple/darwin-xnu — C, 1,170,923 code lines
Play the growth animation for Kitware/CMake on this page — 1,300,486 code lines across 59 languages, counted by tokei.