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.

mozilla-firefox/firefox: 25,027,062 code lines at commit a3178f3cbfac, counted with tokei-15.0.0 on 2026-11-21. Saved result 3b63a54fffa52d14f25ac05890b37d65a15ad4cbd66722900ebad5a5554acd02.

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
YAML20993584073278691599714541
Assembly3133002002639241733518941
Bitbake13420998520655610782351
GNU Style Assembly2712382481973641689523989
CSS9571604121261091206622237
Objective-C++3751353371021951345419688
Java413137498922203009315185
TOML12059845877612845812388
SVG36887820862200113734635
Module-Definition5455117531231635359
TypeScript5197867151171186988802
JSX255480513945549023694
Autoconf272398233035749364530
FreeMarker266359792939806581
CMake129303512354437473060
Shell494343262296163674998
Sass94288362217620984562
Makefile365271541355881005496
Bazel471444912744783922
Objective-C67149891117713012511
Perl4313076941816562002
Metal Shading Language41096083114212228
Visual Studio Project46818980041850
C++ Module211171795116241596
GLSL5210800721820941488
ReStructuredText2010752629104461
C#2045453844231470
Swift6944693273581615
Protocol Buffers378316321138541251
Cython1437433127199417
Prolog163337928840495
Forge Config51670023713586743
Meson928922335242315
M41334432197957289
Happy1254621780368
ReScript121938193800
Ruby2325501910244396
Dockerfile7826241879326419
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
Markdown1612164475011890145574
Plain Text517127707880272146049328

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.