mozilla-firefox/firefox SLOC report
As of 2026-08-10 (commit 6e5e5c514eed), mozilla-firefox/firefox contains 35,118,167 total lines: 24,190,051 code, 7,334,913 comments, 3,593,203 blank, across 137,770 files in 90 languages (top: C++ 22.8%). Counted with tokei via OctoCounts.
Repository size insights
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 176 code lines per file. C++ accounts for 22.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ | 13060 | 7238754 | 5516720 | 798601 | 923433 |
| Rust | 12486 | 4821248 | 4243818 | 204426 | 373004 |
| C Header | 19534 | 4985045 | 3116008 | 1215478 | 653559 |
| C | 3692 | 3853503 | 2850507 | 629421 | 373575 |
| JavaScript | 6056 | 2647544 | 1988086 | 429007 | 230451 |
| Python | 4853 | 1332809 | 1068812 | 88689 | 175308 |
| JSON | 1374 | 903635 | 903209 | 0 | 426 |
| INI | 26491 | 1237122 | 850551 | 211 | 386360 |
| C++ Header | 1370 | 712338 | 569928 | 54082 | 88328 |
| XML | 6728 | 885764 | 460732 | 407620 | 17412 |
| Kotlin | 3971 | 588732 | 416202 | 105808 | 66722 |
| HTML | 19132 | 401466 | 362302 | 17848 | 21316 |
Top language (C++ 22.8%). Generated at 2026-08-10T23:05:10.274245923+00:00.
Report FAQ
How many lines of code does mozilla-firefox/firefox have?
mozilla-firefox/firefox has 35,118,167 total lines, including 24,190,051 code lines, 7,334,913 comment lines, and 3,593,203 blank lines.
How was the mozilla-firefox/firefox line count measured?
OctoCounts resolved the public GitHub repository to commit 6e5e5c514eed, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for mozilla-firefox/firefox?
This OctoCounts report was generated from main at commit 6e5e5c514eed on 2026-08-10T23:05:10.274245923+00:00.