apache/brpc

apache/brpc has 200,457 source lines of code out of 289,480 total lines across 1,259 files, counted with tokei from the master ref at commit adcbf25a8f0d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

apache/brpc: 200,457 code lines at commit adcbf25a8f0d, counted with tokei-15.0.0 on 2026-11-16. Saved result 3d5f760576551978a50177552694d0d444872558872af41001f07544da1b2387.

OctoCounts produced this report by resolving apache/brpc to commit adcbf25a8f0d, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 69.2% of all lines, comments represent 19.3%, and the repository averages 159 code lines per file. C++ accounts for 64.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++4441620481285361891114601
C Header577105200603252958215293
Bazel3441542963830361
CMake5132161925905386
Shell1220491496344209
Protocol Buffers4923261092903331
Makefile2917031001502200
Python491271892102
Objective-C++5989692140157
C++ Header26795057995
JSON4290273017
C23532157761
Lua13251878157
Ruby22331515329
BASH41781046311
RPM Specfile1125821924
Go18055169
Autoconf390374310
YAML2363600
FlatBuffers Schema27628399
Dockerfile14221174
Thrift13814186
SVG11100
Markdown254092030131079
Plain Text2245016679

Top language: C++ 64.1%. Generated on .

Counting rules and retention

apache/brpc: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does apache/brpc have?

apache/brpc has 200,457 lines of code, plus 55,893 comment lines and 33,130 blank lines, for 289,480 total lines at commit adcbf25a8f0d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the apache/brpc line count measured?

OctoCounts resolved the public GitHub repository to commit adcbf25a8f0d, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for apache/brpc?

This OctoCounts report was generated from master at commit adcbf25a8f0d on November 16, 2026.

Similar repository reports

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

Play the growth animation for apache/brpc on this page — 200,457 code lines across 25 languages, counted by tokei.