protocolbuffers/protobuf

protocolbuffers/protobuf has 893,906 source lines of code out of 1,157,890 total lines across 2,945 files, counted from the main ref at commit e4a2a180edb6 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

protocolbuffers/protobuf: 893,906 code lines at commit e4a2a180edb6, counted with tokei-14.0.0 on 2026-10-23. Saved result 23a76db7753601344046b03c7e1c614865a99e7d0b9d8df76613ff677ed885a2.

OctoCounts produced this report by resolving protocolbuffers/protobuf to commit e4a2a180edb6, 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.2% of all lines, comments represent 12.2%, and the repository averages 304 code lines per file. C++ accounts for 29.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++5513243772648902451434973
C#2241928341619161694713971
C Header6272171171502354111825764
C1439481874717878911312
Objective-C85715195733961138067
Java1616675446900130826772
Python100448403624628995695
Bazel218333082874016742894
Protocol Buffers300342342273262975205
Bitbake1716639146715611407
PHP136235281158395532392
Rust8510907844010181449
Ruby3547083343788577
CMake2535043006218280
JSON52565256500
Shell2921081548288272
XML26135712851656
Lua290170377121
C++ Header61017678123216
Swift36455115975
Go43723083034
Rakefile33202473835
Autoconf63422455146
Kotlin1242020512887
MSBuild91891471032
TOML122001413029
Makefile212093126
Dart211490717
Emacs Lisp1198866646
Vim Script1847491
Visual Studio Solution1545400
Batch37153216
YAML25237510
AWK25034610
Objective-C++13814195
PowerShell120965
M4111803
NuGet Config18710
LD Script16600
Markdown43355702639918
Plain Text59398403809175

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

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does protocolbuffers/protobuf have?

protocolbuffers/protobuf has 1,157,890 total lines, including 893,906 code lines, 140,991 comment lines, and 122,993 blank lines.

How was the protocolbuffers/protobuf line count measured?

OctoCounts resolved the public GitHub repository to commit e4a2a180edb6, 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 e4a2a180edb6 on 2026-10-23T08:59:54.022580436Z.

Similar repository reports

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

Play the growth animation for protocolbuffers/protobuf on this page — 893,906 code lines across 41 languages, counted by tokei.