As of 2026-09-03 (commit 065d6fabf734), protocolbuffers/protobuf contains 1,124,692 total lines: 869,429 code, 135,580 comments, 119,683 blank, across 2,850 files in 41 languages (top: C++ 28.8%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving protocolbuffers/protobuf to commit 065d6fabf734, 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 77.3% of all lines, comments represent 12.1%, and the repository averages 305 code lines per file. C++ accounts for 28.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 518 | 306027 | 250286 | 22891 | 32850 |
| C# | 223 | 191193 | 161422 | 15839 | 13932 |
| C Header | 606 | 212004 | 147720 | 38711 | 25573 |
| C | 138 | 92029 | 72462 | 8512 | 11055 |
| Objective-C | 80 | 70151 | 56433 | 5803 | 7915 |
| Java | 161 | 66101 | 46167 | 13251 | 6683 |
| Python | 102 | 44477 | 35784 | 3085 | 5608 |
| Bazel | 214 | 32105 | 27641 | 1641 | 2823 |
| Protocol Buffers | 294 | 34278 | 22585 | 6535 | 5158 |
| Bitbake | 17 | 16182 | 14164 | 642 | 1376 |
| PHP | 136 | 23509 | 11564 | 9553 | 2392 |
| Rust | 72 | 9974 | 7781 | 865 | 1328 |
Top language (C++ 28.8%). Generated at 2026-09-03T07:09:49.281153500+00:00.
protocolbuffers/protobuf has 1,124,692 total lines, including 869,429 code lines, 135,580 comment lines, and 119,683 blank lines.
OctoCounts resolved the public GitHub repository to commit 065d6fabf734, 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 main at commit 065d6fabf734 on 2026-09-03T07:09:49.281153500+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: