# Kitware/VTK SLOC report

> Kitware/VTK: 4,793,853 code lines at commit 94e2c96ccf57, counted with tokei-15.0.0 on 2026-11-20. Saved result ce90db71c93b8de9b5cae88da89bdb0af401eb1935b2e5549ab7ec098b43bed5.

Kitware/VTK has 4,793,853 source lines of code out of 6,935,808 total lines across 19,902 files, counted with tokei from the master ref at commit 94e2c96ccf57 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Kitware/VTK to commit 94e2c96ccf57, 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,562,800 | 2,017,438 | 247,799 | 297,563 |
| C | 1,749 | 2,131,657 | 1,426,109 | 487,874 | 217,674 |
| C Header | 6,530 | 1,532,528 | 837,764 | 518,934 | 175,830 |
| Python | 1,153 | 191,174 | 150,845 | 14,794 | 25,535 |
| C++ Header | 512 | 180,684 | 125,589 | 28,499 | 26,596 |
| CMake | 1,345 | 96,409 | 74,805 | 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 | 495 | 28,980 | 0 | 22,548 | 6,432 |
| Plain Text | 47 | 10,776 | 0 | 8,877 | 1,899 |

Top language: C++ 42.1%. Generated on November 20, 2026. Canonical report: https://octocounts.com/github/Kitware/VTK/commit/94e2c96ccf571ed867b3efbe9c617476381a28c5?reportId=ce90db71c93b8de9b5cae88da89bdb0af401eb1935b2e5549ab7ec098b43bed5&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/94e2c96ccf571ed867b3efbe9c617476381a28c5?reportId=ce90db71c93b8de9b5cae88da89bdb0af401eb1935b2e5549ab7ec098b43bed5&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,793,853 lines of code, plus 1,361,995 comment lines and 779,960 blank lines, for 6,935,808 total lines at commit 94e2c96ccf57 on November 20, 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 94e2c96ccf57, 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 94e2c96ccf57 on November 20, 2026.

## Similar repository reports

- [quackscarfmc-eng/ChimeraCraft](https://octocounts.com/github/quackscarfmc-eng/ChimeraCraft) — C++, 5,234,408 code lines
- [blender/blender](https://octocounts.com/github/blender/blender) — C++, 5,259,396 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,332,358 code lines
- [openjdk/jfx](https://octocounts.com/github/openjdk/jfx) — C++, 4,304,092 code lines
- [godotengine/godot](https://octocounts.com/github/godotengine/godot) — C++, 4,238,824 code lines
- [meta/hhvm](https://octocounts.com/github/meta/hhvm) — C++, 3,741,212 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)
- [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)
