As of 2026-09-08 (commit 9e4e0baed6a6), oceanbase/oceanbase contains 9,728,038 total lines: 8,265,001 code, 910,697 comments, 552,340 blank, across 14,705 files in 29 languages (top: C++ 76.8%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving oceanbase/oceanbase to commit 9e4e0baed6a6, 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 very large codebase by counted code lines. Code represents 85.0% of all lines, comments represent 9.4%, and the repository averages 562 code lines per file. C++ accounts for 76.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 7061 | 6981105 | 6347927 | 265663 | 367515 |
| C Header | 6730 | 1854132 | 1538369 | 169116 | 146647 |
| C | 211 | 169742 | 121127 | 26872 | 21743 |
| Python | 115 | 125881 | 109136 | 10920 | 5825 |
| C++ Header | 74 | 56449 | 51414 | 1993 | 3042 |
| Happy | 4 | 33770 | 31994 | 0 | 1776 |
| SQL | 171 | 26325 | 23807 | 142 | 2376 |
| JSON | 5 | 12496 | 12492 | 0 | 4 |
| CMake | 179 | 12361 | 10884 | 655 | 822 |
| Module-Definition | 4 | 5828 | 5346 | 0 | 482 |
| Shell | 46 | 3751 | 3118 | 252 | 381 |
| Thrift | 2 | 3464 | 2585 | 375 | 504 |
Top language (C++ 76.8%). Generated at .
oceanbase/oceanbase has 9,728,038 total lines, including 8,265,001 code lines, 910,697 comment lines, and 552,340 blank lines.
OctoCounts resolved the public GitHub repository to commit 9e4e0baed6a6, 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 9e4e0baed6a66b19a650ce5a44a025cf1366b1b4 at commit 9e4e0baed6a6 on 2026-09-08T04:05:07.919379713+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: