ClickHouse/ClickHouse SLOC report

As of 2026-08-26 (commit a36db2d1ade0), ClickHouse/ClickHouse contains 2,991,216 total lines: 2,308,757 code, 259,575 comments, 422,884 blank, across 10,924 files in 31 languages (top: C++ 63.5%). Counted with tokei via OctoCounts.

As of 2026-08-26 (commit a36db2d1ade0), ClickHouse/ClickHouse contains 2,991,216 total lines: 2,308,757 code, 259,575 comments, 422,884 blank, across 10,924 files in 31 languages (top: C++ 63.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving ClickHouse/ClickHouse to commit a36db2d1ade0, 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 77.2% of all lines, comments represent 8.7%, and the repository averages 211 code lines per file. C++ accounts for 63.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++487118078261465878110893231055
C Header4768626465395873109201121391
GNU Style Assembly97318094271603174944742
Python227844996827873348887
C108592534469284126149
CMake409369193016234743283
Shell7811260753224481280
Autoconf266771420411691398
JavaScript4454994138755606
Protocol Buffers534262846202378
C++ Header737342610544580
Java52300215128121

Top language (C++ 63.5%). Generated at .

Report FAQ

How many lines of code does ClickHouse/ClickHouse have?

ClickHouse/ClickHouse has 2,991,216 total lines, including 2,308,757 code lines, 259,575 comment lines, and 422,884 blank lines.

How was the ClickHouse/ClickHouse line count measured?

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

What commit was counted for ClickHouse/ClickHouse?

This OctoCounts report was generated from master at commit a36db2d1ade0 on 2026-08-26T18:20:54.267267208+00:00.

Similar repository reports

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