Kitware/CMake has 1,278,983 source lines of code out of 1,746,487 total lines across 30,630 files, counted from the master ref at commit 0894f2a5b267 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
Kitware/CMake: 1,278,983 code lines at commit 0894f2a5b267, counted with tokei-14.0.0 on 2026-10-21. Saved result 89a86f53906623f063a4dbe00b6e93270690d596f7843ede3b0023fc536fdfe6.
OctoCounts produced this report by resolving Kitware/CMake to commit 0894f2a5b267, 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.
This is a very large codebase by counted code lines. Code represents 73.2% of all lines, comments represent 14.2%, and the repository averages 42 code lines per file. C accounts for 29.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 1796 | 500853 | 371295 | 71707 | 57851 |
| C++ | 2074 | 378896 | 313757 | 25459 | 39680 |
| CMake | 12094 | 355860 | 277736 | 26357 | 51767 |
| C Header | 1713 | 198466 | 116819 | 55736 | 25911 |
| ReStructuredText | 2518 | 115417 | 85011 | 0 | 30406 |
| JSON | 276 | 58181 | 58181 | 0 | 0 |
| Autoconf | 835 | 32076 | 24758 | 3627 | 3691 |
| Vim Script | 2 | 5575 | 5535 | 15 | 25 |
| Python | 41 | 6255 | 4890 | 294 | 1071 |
| Happy | 3 | 3677 | 3190 | 0 | 487 |
| C++ Header | 112 | 3432 | 2438 | 376 | 618 |
| Shell | 29 | 2738 | 2359 | 163 | 216 |
| YAML | 1 | 2055 | 2027 | 5 | 23 |
| CUDA | 129 | 2366 | 1950 | 73 | 343 |
| BASH | 50 | 2001 | 1533 | 225 | 243 |
| Lex | 6 | 1307 | 947 | 177 | 183 |
| FORTRAN Modern | 89 | 954 | 759 | 37 | 158 |
| Bitbake | 2 | 445 | 405 | 24 | 16 |
| Dockerfile | 7 | 463 | 387 | 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 |
| Batch | 11 | 189 | 160 | 0 | 29 |
| Pascal | 3 | 167 | 128 | 23 | 16 |
| Objective-C++ | 16 | 142 | 121 | 2 | 19 |
| .NET Resource | 2 | 178 | 119 | 59 | 0 |
| Swift | 27 | 110 | 97 | 0 | 13 |
| HTML | 4 | 95 | 90 | 0 | 5 |
| C++ Module | 14 | 108 | 89 | 0 | 19 |
| JavaScript | 2 | 90 | 83 | 0 | 7 |
| PowerShell | 2 | 123 | 81 | 23 | 19 |
| Module-Definition | 19 | 78 | 78 | 0 | 0 |
| 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 | 8497 | 68180 | 0 | 62579 | 5601 |
Top language (C 29.0%). Generated at .
Kitware/CMake has 1,746,487 total lines, including 1,278,983 code lines, 248,214 comment lines, and 219,290 blank lines.
OctoCounts resolved the public GitHub repository to commit 0894f2a5b267, 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 0894f2a5b267 on 2026-10-21T03:13:49.528361061Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for Kitware/CMake on this page — 1,278,983 code lines across 59 languages, counted by tokei.