# brave/brave-core SLOC report

> brave/brave-core: 1,942,916 code lines at commit 55856d73dbac, counted with tokei-15.0.0 on 2026-11-15. Saved result 1f873008e2fd50e829f00c8304db13d6b1f59d7284dcac79e7cb0cd49a69b7c0.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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++ | 5,232 | 970,753 | 744,314 | 80,346 | 146,093 |
| Swift | 1,207 | 240,131 | 196,056 | 17,694 | 26,381 |
| C Header | 3,978 | 251,264 | 156,251 | 37,319 | 57,694 |
| JSON | 515 | 142,190 | 142,163 | 0 | 27 |
| TypeScript | 1,485 | 167,398 | 134,797 | 15,375 | 17,226 |
| TSX | 1,133 | 160,038 | 132,838 | 11,478 | 15,722 |
| Python | 500 | 155,993 | 125,488 | 10,849 | 19,656 |
| Java | 833 | 142,718 | 109,480 | 15,102 | 18,136 |
| XML | 731 | 53,794 | 48,075 | 2,802 | 2,917 |
| Objective-C++ | 401 | 47,281 | 35,697 | 4,245 | 7,339 |
| YAML | 906 | 41,065 | 31,200 | 3,805 | 6,060 |
| JavaScript | 61 | 28,946 | 26,465 | 1,389 | 1,092 |
| C | 34 | 39,783 | 18,102 | 14,231 | 7,450 |
| Rust | 68 | 17,619 | 14,311 | 1,211 | 2,097 |
| SVG | 279 | 8,868 | 8,834 | 23 | 11 |
| CSS | 80 | 7,865 | 5,883 | 801 | 1,181 |
| Sass | 71 | 5,729 | 4,549 | 396 | 784 |
| HTML | 135 | 4,457 | 4,017 | 180 | 260 |
| TOML | 31 | 2,851 | 2,233 | 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 | 21,206 | 0 | 16,969 | 4,237 |
| Plain Text | 3 | 164,258 | 0 | 155,301 | 8,957 |

Top language: C++ 38.3%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/brave/brave-core/commit/55856d73dbaccdab9c0445903beb0ef779bd33bd?reportId=1f873008e2fd50e829f00c8304db13d6b1f59d7284dcac79e7cb0cd49a69b7c0&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/brave/brave-core/commit/55856d73dbaccdab9c0445903beb0ef779bd33bd?reportId=1f873008e2fd50e829f00c8304db13d6b1f59d7284dcac79e7cb0cd49a69b7c0&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does brave/brave-core have?

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.

### How was the brave/brave-core line count measured?

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.

### What commit was counted for brave/brave-core?

This OctoCounts report was generated from 55856d73dbaccdab9c0445903beb0ef779bd33bd at commit 55856d73dbac on November 15, 2026.

## Similar repository reports

- [MariaDB/server](https://octocounts.com/github/MariaDB/server) — C++, 1,957,881 code lines
- [ceph/ceph](https://octocounts.com/github/ceph/ceph) — C++, 1,992,291 code lines
- [Open-Cascade-SAS/OCCT](https://octocounts.com/github/Open-Cascade-SAS/OCCT) — C++, 2,087,180 code lines
- [Snowy-Fluffy/freshGram](https://octocounts.com/github/Snowy-Fluffy/freshGram) — C++, 1,754,946 code lines
- [OSGeo/gdal](https://octocounts.com/github/OSGeo/gdal) — C++, 2,173,887 code lines
- [arangodb/arangodb](https://octocounts.com/github/arangodb/arangodb) — C++, 1,673,211 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
