As of 2026-09-06 (commit 3bab33d99612), mozilla-firefox/firefox contains 34,669,084 total lines: 23,885,863 code, 7,234,384 comments, 3,548,837 blank, across 136,839 files in 90 languages (top: C++ 22.7%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving mozilla-firefox/firefox to commit 3bab33d99612, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 68.9% of all lines, comments represent 20.9%, and the repository averages 175 code lines per file. C++ accounts for 22.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 12940 | 7112785 | 5417384 | 782296 | 913105 |
| Rust | 12223 | 4720315 | 4158444 | 198146 | 363725 |
| C Header | 19294 | 4905276 | 3072466 | 1190467 | 642343 |
| C | 3690 | 3849874 | 2847367 | 629028 | 373479 |
| JavaScript | 5957 | 2595173 | 1953109 | 415715 | 226349 |
| Python | 4807 | 1321456 | 1059639 | 87762 | 174055 |
| JSON | 1355 | 888992 | 888575 | 0 | 417 |
| INI | 26476 | 1234855 | 850033 | 192 | 384630 |
| C++ Header | 1368 | 724255 | 580390 | 54306 | 89559 |
| XML | 6756 | 880977 | 462112 | 400817 | 18048 |
| Kotlin | 3999 | 529985 | 380558 | 92151 | 57276 |
| HTML | 19125 | 401066 | 361964 | 17794 | 21308 |
Top language (C++ 22.7%). Generated at .
mozilla-firefox/firefox has 34,669,084 total lines, including 23,885,863 code lines, 7,234,384 comment lines, and 3,548,837 blank lines.
OctoCounts resolved the public GitHub repository to commit 3bab33d99612, 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 3bab33d9961254238aee629b6ff6efc08c6469be at commit 3bab33d99612 on 2026-09-06T03:05:34.351475828+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: