kubernetes/kubernetes SLOC report

As of 2026-08-31 (commit 0040a112457d), kubernetes/kubernetes contains 4,783,538 total lines: 3,852,226 code, 630,399 comments, 300,913 blank, across 14,805 files in 17 languages (top: Go 65.4%). Counted with tokei via OctoCounts.

As of 2026-08-31 (commit 0040a112457d), kubernetes/kubernetes contains 4,783,538 total lines: 3,852,226 code, 630,399 comments, 300,913 blank, across 14,805 files in 17 languages (top: Go 65.4%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving kubernetes/kubernetes to commit 0040a112457d, 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 80.5% of all lines, comments represent 13.2%, and the repository averages 260 code lines per file. Go accounts for 65.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Go1159332612872517521479284264482
JSON12061030009103000900
YAML13922522572508831062312
Shell214351382277681414221
PO File112970413754137432207
Protocol Buffers1024795310893309336127
PowerShell537182728732258
Modelica1055981136437488
Autoconf391871916138
BASH5983684187112
SVG440639844
Python45083298990

Top language (Go 65.4%). Generated at 2026-08-31T09:51:09.207843537+00:00.

Report FAQ

How many lines of code does kubernetes/kubernetes have?

kubernetes/kubernetes has 4,783,538 total lines, including 3,852,226 code lines, 630,399 comment lines, and 300,913 blank lines.

How was the kubernetes/kubernetes line count measured?

OctoCounts resolved the public GitHub repository to commit 0040a112457d, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for kubernetes/kubernetes?

This OctoCounts report was generated from master at commit 0040a112457d on 2026-08-31T09:51:09.207843537+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: