mozilla-firefox/firefox

mozilla-firefox/firefox has 24,839,434 source lines of code out of 35,575,828 total lines across 141,010 files, counted with tokei from the main ref at commit d7161e35da77 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit d7161e35da77), mozilla-firefox/firefox contains 35,575,828 total lines: 24,839,434 code, 7,057,949 comments, 3,678,445 blank, across 141,010 files in 92 languages (top language: C++ 22.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit d7161e35da77), mozilla-firefox/firefox contains 35,575,828 total lines: 24,839,434 code, 7,057,949 comments, 3,678,445 blank, across 141,010 files in 92 languages (top language: C++ 22.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving mozilla-firefox/firefox to commit d7161e35da77, 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.

Repository size insights

This is a very large codebase by counted code lines. Code represents 69.8% of all lines, comments represent 19.8%, and the repository averages 176 code lines per file. C++ accounts for 22.8% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++1323374348705668132823416943322
Rust1278849413654345587209580386198
C Header19689504168131434291235230663022
C369038766932867712633685375296
JavaScript627927063022019360451387235555
Python49111378258110911990576178563
JSON1426108465210842000452
INI272801251646855923262395461
C++ Header14217570776047125854693819
Kotlin441964869146973510347575481
XML697187196945807939734116549
HTML192533984693593451803121093

Top language: C++ 22.8%. Generated on .

Counting rules and retention

mozilla-firefox/firefox: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does mozilla-firefox/firefox have?

mozilla-firefox/firefox has 24,839,434 lines of code, plus 7,057,949 comment lines and 3,678,445 blank lines, for 35,575,828 total lines at commit d7161e35da77 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the mozilla-firefox/firefox line count measured?

OctoCounts resolved the public GitHub repository to commit d7161e35da77, 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 d7161e35da77 on November 16, 2026.

Play the growth animation for mozilla-firefox/firefox on this page — 24,839,434 code lines across 92 languages, counted by tokei.