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.

LanguageFilesLinesCodeCommentsBlanks
C18195044563739187237358165
C++21063851913192052592840058
CMake124823654182855002724052678
C Header17332001831178595613126193
ReStructuredText280912116089013032147
JSON278586085860800
Autoconf841323022494636523704
Vim Script2557655361525
Python43653851313001107
Happy4369632040492
Shell3027122323170219
C++ Header11332802287381612
YAML120552027523
CUDA1292366195073343
BASH5019971530225242
Lex71315952177186
FORTRAN Modern9297277737158
Bitbake24454052416
Dockerfile74653894234
Emacs Lisp15223758661
Java284573583663
Objective-C36622358132132
GNU Style Assembly665535424061
C#273743053534
MSBuild7313298123
FORTRAN Legacy362952601421
XML1526425842
CSS13322483252
Visual Studio Project121621600
Perl33062133855
Rust222271901324
Assembly16194174119
Pascal31671282316
Objective-C++16142121219
.NET Resource2178119590
Swift3011198013
C++ Module1511494020
HTML4959005
PowerShell2127852319
JavaScript2908307
Module-Definition19787800
Batch108970019
SWIG128457918
TCL2118552736
D13494603
HLSL45542211
XAML4423804
M416830335
Ruby149221314
Visual Studio Solution1212100
Protocol Buffers4251906
R1181413
Xcode Config44400
Makefile12200
Lua11100
Prolog11100
TeX11100
Markdown66950483212
Plain Text8597689830633475636

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

Reproduce this exact report and configuration.

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:

Play the growth animation for Kitware/CMake on this page — 1,300,486 code lines across 59 languages, counted by tokei.