protocolbuffers/protobuf SLOC report

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C++5183060272502862289132850
C#2231911931614221583913932
C Header6062120041477203871125573
C1389202972462851211055
Objective-C80701515643358037915
Java1616610146167132516683
Python102444773578430855608
Bazel214321052764116412823
Protocol Buffers294342782258565355158
Bitbake1716182141646421376
PHP136235091156495532392
Rust72997477818651328

Top language (C++ 28.8%). Generated at 2026-09-03T07:09:49.281153500+00:00.

Report FAQ

How many lines of code does protocolbuffers/protobuf have?

protocolbuffers/protobuf has 1,124,692 total lines, including 869,429 code lines, 135,580 comment lines, and 119,683 blank lines.

How was the protocolbuffers/protobuf line count measured?

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.

What commit was counted for protocolbuffers/protobuf?

This OctoCounts report was generated from main at commit 065d6fabf734 on 2026-09-03T07:09:49.281153500+00:00.

Similar repository reports

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