brave/brave-core has 1,942,916 source lines of code out of 2,677,346 total lines across 17,964 files, counted with tokei from the 55856d73dbaccdab9c0445903beb0ef779bd33bd ref at commit 55856d73dbac on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
brave/brave-core: 1,942,916 code lines at commit 55856d73dbac, counted with tokei-15.0.0 on 2026-11-15. Saved result 1f873008e2fd50e829f00c8304db13d6b1f59d7284dcac79e7cb0cd49a69b7c0.
OctoCounts produced this report by resolving brave/brave-core to commit 55856d73dbac, 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 very large codebase by counted code lines. Code represents 72.6% of all lines, comments represent 14.6%, and the repository averages 108 code lines per file. C++ accounts for 38.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 5232 | 970753 | 744314 | 80346 | 146093 |
| Swift | 1207 | 240131 | 196056 | 17694 | 26381 |
| C Header | 3978 | 251264 | 156251 | 37319 | 57694 |
| JSON | 515 | 142190 | 142163 | 0 | 27 |
| TypeScript | 1485 | 167398 | 134797 | 15375 | 17226 |
| TSX | 1133 | 160038 | 132838 | 11478 | 15722 |
| Python | 500 | 155993 | 125488 | 10849 | 19656 |
| Java | 833 | 142718 | 109480 | 15102 | 18136 |
| XML | 731 | 53794 | 48075 | 2802 | 2917 |
| Objective-C++ | 401 | 47281 | 35697 | 4245 | 7339 |
| YAML | 906 | 41065 | 31200 | 3805 | 6060 |
| JavaScript | 61 | 28946 | 26465 | 1389 | 1092 |
| C | 34 | 39783 | 18102 | 14231 | 7450 |
| Rust | 68 | 17619 | 14311 | 1211 | 2097 |
| SVG | 279 | 8868 | 8834 | 23 | 11 |
| CSS | 80 | 7865 | 5883 | 801 | 1181 |
| Sass | 71 | 5729 | 4549 | 396 | 784 |
| HTML | 135 | 4457 | 4017 | 180 | 260 |
| TOML | 31 | 2851 | 2233 | 169 | 449 |
| Protocol Buffers | 20 | 901 | 516 | 230 | 155 |
| Shell | 8 | 579 | 384 | 115 | 80 |
| Handlebars | 5 | 350 | 319 | 4 | 27 |
| RPM Specfile | 1 | 271 | 239 | 32 | 0 |
| Bitbake | 1 | 206 | 205 | 0 | 1 |
| Autoconf | 1 | 170 | 134 | 0 | 36 |
| Templ | 4 | 139 | 114 | 12 | 13 |
| FlatBuffers Schema | 4 | 98 | 75 | 0 | 23 |
| Batch | 7 | 148 | 56 | 92 | 0 |
| Xcode Config | 7 | 138 | 51 | 44 | 43 |
| Objective-C | 1 | 52 | 40 | 4 | 8 |
| BASH | 6 | 72 | 18 | 54 | 0 |
| Forge Config | 7 | 9 | 7 | 2 | 0 |
| Makefile | 1 | 6 | 5 | 0 | 1 |
| Markdown | 208 | 21206 | 0 | 16969 | 4237 |
| Plain Text | 3 | 164258 | 0 | 155301 | 8957 |
Top language: C++ 38.3%. Generated on .
brave/brave-core: 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.
brave/brave-core has 1,942,916 lines of code, plus 390,274 comment lines and 344,156 blank lines, for 2,677,346 total lines at commit 55856d73dbac on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 55856d73dbac, 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 55856d73dbaccdab9c0445903beb0ef779bd33bd at commit 55856d73dbac on November 15, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for brave/brave-core on this page — 1,942,916 code lines across 35 languages, counted by tokei.