# Kitware/CMake SLOC report

> 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.

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

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 1,770 | 494,386 | 365,957 | 70,986 | 57,443 |
| C++ | 2,008 | 368,957 | 304,478 | 25,192 | 39,287 |
| CMake | 11,534 | 341,546 | 265,989 | 25,217 | 50,340 |
| C Header | 1,677 | 195,874 | 115,277 | 55,070 | 25,527 |
| ReStructuredText | 2,486 | 111,269 | 82,036 | 0 | 29,233 |
| JSON | 266 | 57,705 | 57,705 | 0 | 0 |
| Autoconf | 809 | 30,990 | 23,844 | 3,524 | 3,622 |
| Vim Script | 2 | 5,569 | 5,529 | 15 | 25 |
| Python | 39 | 6,185 | 4,840 | 294 | 1,051 |
| 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.4%). Generated at 2026-08-26T18:40:59.759108645+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,705,362 total lines, including 1,246,136 code lines, 243,933 comment lines, and 215,293 blank lines.

### How was the Kitware/CMake line count measured?

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.

### What commit was counted for Kitware/CMake?

This OctoCounts report was generated from master at commit 10b4bf7e1ee3 on 2026-08-26T18:40:59.759108645+00:00.

## Similar repository reports

- [apple-oss-distributions/xnu](https://octocounts.com/github/apple-oss-distributions/xnu) — C, 1,411,712 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
- [python/cpython](https://octocounts.com/github/python/cpython) — C, 1,623,307 code lines
- [postgres/postgres](https://octocounts.com/github/postgres/postgres) — C, 1,635,077 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)
