# google/filament SLOC report

> google/filament: 7,430,089 code lines at commit 0c00399597f1, counted with tokei-15.0.0 on 2026-11-13. Saved result 285683c228caefb16dbb4ac94e592830f74e882ee77cade0607cc799ca952ab4.

google/filament has 7,430,089 source lines of code out of 10,542,438 total lines across 27,289 files, counted with tokei from the 0c00399597f1ed22b46cb0dfd4107b0017ba3bfb ref at commit 0c00399597f1 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving google/filament to commit 0c00399597f1, 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

google/filament: 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 70.5% of all lines, comments represent 17.2%, and the repository averages 272 code lines per file. C++ accounts for 42.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 6,457 | 4,138,933 | 3,132,574 | 504,250 | 502,109 |
| C Header | 6,728 | 2,261,713 | 1,440,939 | 524,453 | 296,321 |
| C | 1,085 | 879,177 | 652,475 | 125,401 | 101,301 |
| C++ Header | 120 | 504,691 | 414,421 | 26,654 | 63,616 |
| GLSL | 5,937 | 345,273 | 296,307 | 9,849 | 39,117 |
| JSON | 124 | 231,756 | 231,634 | 0 | 122 |
| C# | 261 | 210,525 | 176,703 | 18,336 | 15,486 |
| Python | 432 | 186,048 | 150,029 | 15,070 | 20,949 |
| XML | 218 | 118,861 | 116,430 | 843 | 1,588 |
| GNU Style Assembly | 22 | 96,261 | 81,312 | 1,340 | 13,609 |
| Go | 245 | 98,130 | 79,991 | 12,286 | 5,853 |
| Java | 304 | 116,392 | 69,059 | 35,253 | 12,080 |
| Objective-C | 139 | 87,892 | 69,022 | 8,055 | 10,815 |
| CMake | 746 | 89,476 | 64,253 | 15,931 | 9,292 |
| Bazel | 395 | 57,056 | 46,160 | 6,478 | 4,418 |
| HTML | 46 | 45,313 | 44,034 | 115 | 1,164 |
| Module-Definition | 90 | 45,110 | 42,710 | 126 | 2,274 |
| Bitbake | 105 | 42,516 | 38,419 | 1,498 | 2,599 |
| JavaScript | 86 | 42,043 | 31,182 | 6,023 | 4,838 |
| Visual Studio Project | 82 | 30,541 | 30,541 | 0 | 0 |
| Shell | 216 | 39,542 | 27,888 | 7,254 | 4,400 |
| Protocol Buffers | 284 | 37,193 | 23,714 | 7,646 | 5,833 |
| Kotlin | 116 | 26,409 | 18,381 | 4,713 | 3,315 |
| Objective-C++ | 69 | 23,937 | 17,345 | 3,110 | 3,482 |
| M4 | 21 | 20,828 | 15,215 | 3,906 | 1,707 |
| PHP | 143 | 27,048 | 15,108 | 9,345 | 2,595 |
| Autoconf | 127 | 15,345 | 10,868 | 2,702 | 1,775 |
| WebGPU Shader Language | 7 | 8,814 | 8,349 | 0 | 465 |
| Rust | 69 | 9,646 | 7,512 | 842 | 1,292 |
| YAML | 29 | 6,976 | 6,796 | 64 | 116 |
| Lua | 11 | 6,839 | 6,212 | 228 | 399 |
| Makefile | 99 | 9,459 | 6,085 | 1,478 | 1,896 |
| F# | 43 | 7,328 | 5,061 | 1,199 | 1,068 |
| Batch | 78 | 5,663 | 4,712 | 365 | 586 |
| Happy | 1 | 4,663 | 4,445 | 0 | 218 |
| C++ Module | 4 | 6,539 | 4,278 | 1,148 | 1,113 |
| CSS | 14 | 4,410 | 3,888 | 155 | 367 |
| D | 17 | 7,808 | 3,447 | 3,861 | 500 |
| Ruby | 35 | 4,826 | 3,431 | 791 | 604 |
| Ada | 20 | 5,680 | 3,362 | 1,120 | 1,198 |
| Assembly | 7 | 4,466 | 3,351 | 526 | 589 |
| TypeScript | 9 | 6,929 | 2,991 | 3,267 | 671 |
| Templ | 37 | 4,305 | 2,658 | 1,047 | 600 |
| Pascal | 20 | 3,383 | 2,401 | 447 | 535 |
| Visual Studio Solution | 18 | 1,809 | 1,797 | 0 | 12 |
| Perl | 11 | 1,852 | 1,392 | 295 | 165 |
| Automake | 17 | 1,512 | 1,176 | 114 | 222 |
| HLSL | 11 | 1,459 | 1,171 | 39 | 249 |
| BASH | 16 | 1,620 | 1,045 | 420 | 155 |
| TCL | 2 | 928 | 899 | 13 | 16 |
| AWK | 5 | 1,335 | 828 | 401 | 106 |
| TeX | 1 | 1,050 | 802 | 5 | 243 |
| Forge Config | 96 | 1,684 | 601 | 987 | 96 |
| Swift | 5 | 753 | 598 | 75 | 80 |
| MSBuild | 20 | 682 | 556 | 66 | 60 |
| TOML | 14 | 629 | 523 | 19 | 87 |
| Groovy | 6 | 614 | 406 | 113 | 95 |
| Emacs Lisp | 5 | 765 | 396 | 238 | 131 |
| SWIG | 28 | 393 | 294 | 19 | 80 |
| Handlebars | 1 | 326 | 264 | 29 | 33 |
| .NET Resource | 4 | 495 | 259 | 236 | 0 |
| Rakefile | 3 | 320 | 247 | 38 | 35 |
| PowerShell | 2 | 322 | 170 | 112 | 40 |
| ReStructuredText | 3 | 202 | 142 | 0 | 60 |
| AsciiDoc | 6 | 191 | 138 | 13 | 40 |
| C Shell | 1 | 145 | 117 | 15 | 13 |
| RPM Specfile | 1 | 118 | 93 | 1 | 24 |
| Metal Shading Language | 1 | 109 | 92 | 0 | 17 |
| Dart | 2 | 114 | 90 | 7 | 17 |
| Vim Script | 1 | 107 | 74 | 21 | 12 |
| SVG | 1 | 72 | 72 | 0 | 0 |
| Prolog | 2 | 47 | 40 | 0 | 7 |
| Xcode Config | 6 | 146 | 33 | 81 | 32 |
| Meson | 2 | 42 | 29 | 4 | 9 |
| Dockerfile | 2 | 45 | 17 | 21 | 7 |
| LD Script | 2 | 19 | 13 | 5 | 1 |
| Pan | 1 | 10 | 8 | 0 | 2 |
| NuGet Config | 1 | 8 | 7 | 1 | 0 |
| ReScript | 2 | 4 | 4 | 0 | 0 |
| Poke | 2 | 2 | 2 | 0 | 0 |
| GDB Script | 1 | 12 | 1 | 9 | 2 |
| Markdown | 390 | 39,887 | 0 | 30,082 | 9,805 |
| Plain Text | 1,499 | 556,867 | 0 | 415,749 | 141,118 |

Top language: C++ 42.2%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/google/filament/commit/0c00399597f1ed22b46cb0dfd4107b0017ba3bfb?reportId=285683c228caefb16dbb4ac94e592830f74e882ee77cade0607cc799ca952ab4&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/google/filament/commit/0c00399597f1ed22b46cb0dfd4107b0017ba3bfb?reportId=285683c228caefb16dbb4ac94e592830f74e882ee77cade0607cc799ca952ab4&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 google/filament have?

google/filament has 7,430,089 lines of code, plus 1,816,403 comment lines and 1,295,946 blank lines, for 10,542,438 total lines at commit 0c00399597f1 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the google/filament line count measured?

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

### What commit was counted for google/filament?

This OctoCounts report was generated from 0c00399597f1ed22b46cb0dfd4107b0017ba3bfb at commit 0c00399597f1 on November 13, 2026.

## Similar repository reports

- [luobochuanqi/llvm-project](https://octocounts.com/github/luobochuanqi/llvm-project) — C++, 7,466,206 code lines
- [mongodb/mongo](https://octocounts.com/github/mongodb/mongo) — C++, 7,655,692 code lines
- [GaijinEntertainment/DagorEngine](https://octocounts.com/github/GaijinEntertainment/DagorEngine) — C++, 6,701,537 code lines
- [llvm/llvm-project](https://octocounts.com/github/llvm/llvm-project) — C++, 8,434,145 code lines
- [oceanbase/oceanbase](https://octocounts.com/github/oceanbase/oceanbase) — C++, 6,445,596 code lines
- [LibreOffice/core](https://octocounts.com/github/LibreOffice/core) — C++, 6,368,414 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)
