Kitware/CMake

Kitware/CMake has 1,297,483 source lines of code out of 1,771,002 total lines across 31,385 files, counted with tokei from the master ref at commit c42dca42c876 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

Kitware/CMake: 1,297,483 code lines at commit c42dca42c876, counted with tokei-15.0.0 on 2026-11-16. Saved result 08dfe0dac3034a4034ab622d793562fcad597f16c1ec3ed7c594e5c231f78f3a.

OctoCounts produced this report by resolving Kitware/CMake to commit c42dca42c876, 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
C18125042273737437236158123
C++21023841833183932577140019
CMake124283635592840092700152549
C Header17322001671178475613226188
ReStructuredText278112069588642032053
JSON278584365843600
Autoconf839322102486936423699
Vim Script2557655361525
Python42646550712991095
Happy4369632040492
C++ Header11334772471380626
Shell3027132324170219
YAML120552027523
CUDA1292366195073343
BASH5019971530225242
Lex71315952177186
FORTRAN Modern9095976437158
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
Swift2711097013
C++ Module1511494020
HTML4959005
JavaScript2908307
PowerShell2123812319
Module-Definition19787800
Batch108970019
SWIG128457918
TCL2118552736
D13494603
HLSL45542211
XAML4423804
M416830335
Ruby149221314
Visual Studio Solution1212100
Protocol Buffers4251906
R1181413
Xcode Config44400
Makefile12200
Lua11100
Prolog11100
TeX11100
Markdown66950483212
Plain Text8580688000631645636

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,297,483 lines of code, plus 250,836 comment lines and 222,683 blank lines, for 1,771,002 total lines at commit c42dca42c876 on November 16, 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 c42dca42c876, 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 c42dca42c876 on November 16, 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,297,483 code lines across 59 languages, counted by tokei.