# kitware/cmake SLOC report

> As of 2026-09-14 (commit 5440cd9785ff), kitware/cmake contains 1,714,603 total lines: 1,253,537 code, 244,846 comments, 216,220 blank, across 29,660 files in 59 languages (top: C 29.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving kitware/cmake to commit 5440cd9785ff, 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.

## Repository size insights

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.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 1,774 | 498,326 | 369,468 | 71,147 | 57,711 |
| C++ | 2,017 | 370,900 | 305,928 | 25,434 | 39,538 |
| CMake | 11,572 | 342,522 | 266,722 | 25,365 | 50,435 |
| C Header | 1,683 | 196,567 | 115,722 | 55,221 | 25,624 |
| ReStructuredText | 2,495 | 111,928 | 82,532 | 0 | 29,396 |
| JSON | 276 | 58,175 | 58,175 | 0 | 0 |
| Autoconf | 815 | 31,141 | 23,999 | 3,521 | 3,621 |
| Vim Script | 2 | 5,569 | 5,529 | 15 | 25 |
| Python | 41 | 6,252 | 4,887 | 294 | 1,071 |
| Happy | 3 | 3,677 | 3,190 | 0 | 487 |
| C++ Header | 112 | 3,432 | 2,438 | 376 | 618 |
| Shell | 28 | 2,730 | 2,352 | 162 | 216 |

Top language (C 29.5%). Generated at 2026-09-14T01:43:33.919944985+00:00. Canonical report: https://octocounts.com/github/kitware/cmake

## Report FAQ

### How many lines of code does kitware/cmake have?

kitware/cmake has 1,714,603 total lines, including 1,253,537 code lines, 244,846 comment lines, and 216,220 blank lines.

### How was the kitware/cmake line count measured?

OctoCounts resolved the public GitHub repository to commit 5440cd9785ff, 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 5440cd9785ff on 2026-09-14T01:43:33.919944985+00:00.

## Similar repository reports

- [Kitware/CMake](https://octocounts.com/github/Kitware/CMake) — C, 1,246,136 code lines
- [apple-oss-distributions/xnu](https://octocounts.com/github/apple-oss-distributions/xnu) — C, 1,390,343 code lines
- [apple/darwin-xnu](https://octocounts.com/github/apple/darwin-xnu) — C, 1,106,636 code lines
- [openssl/openssl](https://octocounts.com/github/openssl/openssl) — C, 990,494 code lines
- [systemd/systemd](https://octocounts.com/github/systemd/systemd) — C, 980,635 code lines
- [FFmpeg/FFmpeg](https://octocounts.com/github/FFmpeg/FFmpeg) — C, 1,564,504 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
