# Kitware/VTK SLOC report

> Kitware/VTK: 4,794,497 code lines at commit c1b30d75b586, counted with tokei-15.0.0 on 2026-11-24. Saved result 8bdf195db92d6419cf9b14bd62a42f98f26d5a546fe18a4ac74f71b46d0b53d8.

Source: [Kitware/VTK on GitHub](https://github.com/Kitware/VTK) · counted commit [c1b30d75b586](https://github.com/Kitware/VTK/tree/c1b30d75b586d8aeb46f0ac2bd3241c62a318fde)

Kitware/VTK has 4,794,497 source lines of code out of 6,936,648 total lines across 19,905 files, counted with tokei from the master ref at commit c1b30d75b586 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Kitware/VTK to commit c1b30d75b586, 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.

## Counting rules and retention

Kitware/VTK: 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 69.1% of all lines, comments represent 19.6%, and the repository averages 241 code lines per file. C++ accounts for 42.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 7,235 | 2,563,414 | 2,017,968 | 247,836 | 297,610 |
| C | 1,749 | 2,131,657 | 1,426,109 | 487,874 | 217,674 |
| C Header | 6,530 | 1,532,588 | 837,774 | 518,982 | 175,832 |
| Python | 1,153 | 191,293 | 150,948 | 14,795 | 25,550 |
| C++ Header | 512 | 180,684 | 125,589 | 28,499 | 26,596 |
| CMake | 1,345 | 96,410 | 74,806 | 11,522 | 10,082 |
| SQL | 38 | 66,920 | 65,753 | 370 | 797 |
| Assembly | 91 | 36,881 | 24,074 | 6,980 | 5,827 |
| Autoconf | 260 | 24,872 | 16,617 | 4,701 | 3,554 |
| JavaScript | 33 | 10,043 | 8,254 | 1,260 | 529 |
| Objective-C++ | 27 | 8,332 | 5,658 | 1,439 | 1,235 |
| Bitbake | 9 | 5,303 | 5,023 | 4 | 276 |
| Happy | 2 | 5,606 | 4,921 | 0 | 685 |
| Java | 40 | 5,316 | 3,719 | 823 | 774 |
| GLSL | 71 | 6,712 | 3,685 | 1,793 | 1,234 |
| JSON | 24 | 3,258 | 3,198 | 0 | 60 |
| XML | 8 | 3,076 | 3,024 | 25 | 27 |
| GNU Style Assembly | 2 | 3,454 | 2,883 | 298 | 273 |
| WebGPU Shader Language | 38 | 3,832 | 2,743 | 600 | 489 |
| Shell | 64 | 3,327 | 2,549 | 447 | 331 |
| CUDA | 14 | 2,387 | 1,725 | 352 | 310 |
| Lex | 2 | 2,071 | 1,649 | 206 | 216 |
| Perl | 7 | 1,977 | 1,412 | 328 | 237 |
| Cython | 4 | 1,442 | 1,127 | 77 | 238 |
| Makefile | 46 | 2,536 | 769 | 1,127 | 640 |
| ReStructuredText | 6 | 842 | 599 | 0 | 243 |
| BASH | 5 | 645 | 487 | 63 | 95 |
| QML | 8 | 597 | 479 | 38 | 80 |
| HTML | 16 | 321 | 267 | 20 | 34 |
| Module-Definition | 1 | 196 | 196 | 0 | 0 |
| Swift | 3 | 237 | 140 | 55 | 42 |
| CSS | 2 | 123 | 107 | 2 | 14 |
| Objective-C | 7 | 185 | 84 | 56 | 45 |
| TCL | 1 | 94 | 59 | 7 | 28 |
| SWIG | 1 | 78 | 50 | 15 | 13 |
| Automake | 1 | 63 | 24 | 32 | 7 |
| TOML | 1 | 16 | 10 | 5 | 1 |
| Xcode Config | 1 | 32 | 10 | 13 | 9 |
| INI | 1 | 24 | 6 | 12 | 6 |
| SVG | 2 | 2 | 2 | 0 | 0 |
| Markdown | 498 | 29,026 | 0 | 22,587 | 6,439 |
| Plain Text | 47 | 10,776 | 0 | 8,877 | 1,899 |

Top language: C++ 42.1%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/Kitware/VTK/commit/c1b30d75b586d8aeb46f0ac2bd3241c62a318fde?reportId=8bdf195db92d6419cf9b14bd62a42f98f26d5a546fe18a4ac74f71b46d0b53d8&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/Kitware/VTK/commit/c1b30d75b586d8aeb46f0ac2bd3241c62a318fde?reportId=8bdf195db92d6419cf9b14bd62a42f98f26d5a546fe18a4ac74f71b46d0b53d8&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does Kitware/VTK have?

Kitware/VTK has 4,794,497 lines of code, plus 1,362,120 comment lines and 780,031 blank lines, for 6,936,648 total lines at commit c1b30d75b586 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit c1b30d75b586, 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/VTK?

This OctoCounts report was generated from master at commit c1b30d75b586 on November 24, 2026.

## Similar repository reports

- [quackscarfmc-eng/ChimeraCraft](https://octocounts.com/github/quackscarfmc-eng/ChimeraCraft) — C++, 5,234,408 code lines
- [openjdk/jfx](https://octocounts.com/github/openjdk/jfx) — C++, 4,304,092 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,342,880 code lines
- [blender/blender](https://octocounts.com/github/blender/blender) — C++, 5,348,133 code lines
- [godotengine/godot](https://octocounts.com/github/godotengine/godot) — C++, 4,238,960 code lines
- [bluescarni/heyoka](https://octocounts.com/github/bluescarni/heyoka) — C++, 4,215,445 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
