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.

mozilla-firefox/firefox: 24,839,434 code lines at commit d7161e35da77, counted with tokei-15.0.0 on 2026-11-16. Saved result 1a45f7844a8e8978b4f21ff8d984679bdd0d5433942759ad3a932fd907d8b9c7.

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
YAML20803569523264581586214632
Assembly3133002002639241733518941
Bitbake13421088020745310782349
GNU Style Assembly2712380511971951688923967
CSS9531595831254401201422129
Objective-C++3751351551020511343719667
Java409136310913232992315064
TOML12109864977746850212401
SVG36797794961962113464641
Module-Definition5455117531231635359
TypeScript5197836450891186828791
JSX254478573932548493683
Autoconf272396983023249364530
FreeMarker260353062880706499
CMake129303512354437473060
Shell495342292287963624988
Sass94287812213020984553
Makefile365272331360581225506
Bazel471444912744783922
Objective-C67149891117713012511
Perl4313076941816562002
Metal Shading Language41096083114212228
Visual Studio Project46818980041850
C++ Module211171795116241596
GLSL5210708715920741475
ReStructuredText2010752629104461
C#2045453844231470
Swift6944693273581615
Protocol Buffers378316321138541251
Cython1437433127199417
Prolog162336228700492
Forge Config51670023713586743
Meson928922335242315
M41334432197957289
Happy1254621780368
ReScript121938193800
Ruby2325501910244396
Dockerfile7625581839314405
Automake721331792179162
SQL1720621425395242
SWIG31720136277281
WebGPU Shader Language151338108975174
Visual Studio Solution1310201008012
LLVM1793772021
Batch211164712260192
HLSL51022669202151
Lex3905593191121
MSBuild8504407943
PowerShell35244037051
Elm254239932111
Korn shell453736611556
Go250132611263
Jinja29341298439
Emacs Lisp23382583842
XSL133042551039
BASH103902299764
Templ93202247026
Vue43197160037
VB6/VBA1315115001
LALRPOP12101433334
WebAssembly25193118750
AWK2126105516
Handlebars1210010000
Pascal1126981315
RPM Specfile210179022
Jupyter Notebooks1827372
Svelte4655429
FlatBuffers Schema1119455123
Nix1282512
Rusty Object Notation1222200
Xcode Config311821889
Scons1251816
Just1181701
Pan3291739
R13812188
D1338214
LD Script113751
Elixir1436370
Markdown1583163118011758145537
Plain Text516727707210272138949332

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.

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 — 24,839,434 code lines across 92 languages, counted by tokei.