lightvector/KataGo has 702,153 source lines of code out of 956,602 total lines across 1,291 files, counted from the master ref at commit d91ea855110d by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit d91ea855110d), lightvector/KataGo contains 956,602 total lines: 702,153 code, 133,223 comments, 121,226 blank, across 1,291 files in 15 languages (top: C++ Header 53.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving lightvector/KataGo to commit d91ea855110d, 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.
This is a large codebase by counted code lines. Code represents 73.4% of all lines, comments represent 13.9%, and the repository averages 544 code lines per file. C++ Header accounts for 53.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ Header | 331 | 472660 | 375143 | 49126 | 48391 |
| C Header | 703 | 328898 | 206526 | 66776 | 55596 |
| C++ | 116 | 98159 | 79391 | 8235 | 10533 |
| Python | 61 | 26996 | 22046 | 1703 | 3247 |
| Bitbake | 3 | 10450 | 9739 | 148 | 563 |
| Swift | 2 | 4203 | 3423 | 243 | 537 |
| Forge Config | 25 | 4768 | 1668 | 2064 | 1036 |
| CMake | 5 | 2420 | 1664 | 582 | 174 |
| Shell | 16 | 2223 | 1652 | 289 | 282 |
| CUDA | 3 | 671 | 492 | 95 | 84 |
| Protocol Buffers | 1 | 1016 | 277 | 590 | 149 |
| JSON | 1 | 123 | 123 | 0 | 0 |
Top language (C++ Header 53.4%). Generated at .
lightvector/KataGo has 956,602 total lines, including 702,153 code lines, 133,223 comment lines, and 121,226 blank lines.
OctoCounts resolved the public GitHub repository to commit d91ea855110d, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit d91ea855110d on 2026-10-22T10:32:21.360062233+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for lightvector/KataGo on this page — 702,153 code lines across 12 languages, counted by tokei.