As of 2026-08-26 (commit 10b4bf7e1ee3), Kitware/CMake contains 1,705,362 total lines: 1,246,136 code, 243,933 comments, 215,293 blank, across 29,520 files in 59 languages (top: C 29.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving Kitware/CMake to commit 10b4bf7e1ee3, 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.1% of all lines, comments represent 14.3%, and the repository averages 42 code lines per file. C accounts for 29.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 1770 | 494386 | 365957 | 70986 | 57443 |
| C++ | 2008 | 368957 | 304478 | 25192 | 39287 |
| CMake | 11534 | 341546 | 265989 | 25217 | 50340 |
| C Header | 1677 | 195874 | 115277 | 55070 | 25527 |
| ReStructuredText | 2486 | 111269 | 82036 | 0 | 29233 |
| JSON | 266 | 57705 | 57705 | 0 | 0 |
| Autoconf | 809 | 30990 | 23844 | 3524 | 3622 |
| Vim Script | 2 | 5569 | 5529 | 15 | 25 |
| Python | 39 | 6185 | 4840 | 294 | 1051 |
| Happy | 3 | 3677 | 3190 | 0 | 487 |
| C++ Header | 112 | 3432 | 2438 | 376 | 618 |
| Shell | 28 | 2730 | 2352 | 162 | 216 |
Top language (C 29.4%). Generated at 2026-08-26T18:40:59.759108645+00:00.
Kitware/CMake has 1,705,362 total lines, including 1,246,136 code lines, 243,933 comment lines, and 215,293 blank lines.
OctoCounts resolved the public GitHub repository to commit 10b4bf7e1ee3, 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 10b4bf7e1ee3 on 2026-08-26T18:40:59.759108645+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: