apache/brpc has 200,260 source lines of code out of 289,183 total lines across 1,258 files, counted with tokei from the master ref at commit 86a9617273f6 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-09 (commit 86a9617273f6), apache/brpc contains 289,183 total lines: 200,260 code, 55,818 comments, 33,105 blank, across 1,258 files in 25 languages (top language: C++ 64.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/brpc to commit 86a9617273f6, 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.
This is a large codebase by counted code lines. Code represents 69.3% of all lines, comments represent 19.3%, and the repository averages 159 code lines per file. C++ accounts for 64.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 444 | 161829 | 128372 | 18869 | 14588 |
| C Header | 576 | 105136 | 60296 | 29558 | 15282 |
| Bazel | 34 | 4148 | 2959 | 829 | 360 |
| CMake | 51 | 3216 | 1925 | 905 | 386 |
| Shell | 12 | 2049 | 1496 | 344 | 209 |
| Protocol Buffers | 49 | 2326 | 1092 | 903 | 331 |
| Makefile | 29 | 1703 | 1001 | 502 | 200 |
| Python | 4 | 904 | 718 | 84 | 102 |
| Objective-C++ | 5 | 989 | 692 | 140 | 157 |
| C++ Header | 2 | 679 | 505 | 79 | 95 |
| JSON | 4 | 290 | 273 | 0 | 17 |
| C | 2 | 353 | 215 | 77 | 61 |
Top language: C++ 64.1%. Generated on .
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.
apache/brpc has 200,260 lines of code, plus 55,818 comment lines and 33,105 blank lines, for 289,183 total lines at commit 86a9617273f6 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 86a9617273f6, 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 master at commit 86a9617273f6 on November 9, 2026.
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,260 code lines across 25 languages, counted by tokei.