mozilla-firefox/firefox

mozilla-firefox/firefox has 25,027,062 source lines of code out of 35,807,437 total lines across 141,604 files, counted with tokei from the main ref at commit a3178f3cbfac on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-21 (commit a3178f3cbfac), mozilla-firefox/firefox contains 35,807,437 total lines: 25,027,062 code, 7,076,550 comments, 3,703,825 blank, across 141,604 files in 92 languages (top language: C++ 23.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-21 (commit a3178f3cbfac), mozilla-firefox/firefox contains 35,807,437 total lines: 25,027,062 code, 7,076,550 comments, 3,703,825 blank, across 141,604 files in 92 languages (top language: C++ 23.2%). 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 a3178f3cbfac, 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.9% of all lines, comments represent 19.8%, and the repository averages 177 code lines per file. C++ accounts for 23.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++1339376047815803718839106961957
Rust1283149787474378479211532388736
C Header19796510523031940991242351668780
C367038034692808474623333371662
JavaScript630127161412026103454013236025
Python49491385229111485890988179383
JSON1442109446510939990466
INI276241255375858782262396331
C++ Header14267654966117165957194209
Kotlin439264226746416210324574860
XML680286758145537339585916349
HTML192553985063593811803221093

Top language: C++ 23.2%. 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 25,027,062 lines of code, plus 7,076,550 comment lines and 3,703,825 blank lines, for 35,807,437 total lines at commit a3178f3cbfac on November 21, 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 a3178f3cbfac, 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 a3178f3cbfac on November 21, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for mozilla-firefox/firefox on this page — 25,027,062 code lines across 92 languages, counted by tokei.