sloccount "only" finds 9.1 million lines of code in
https://archive.mozilla.org/pub/firefox/releases/57.0.4/source/firefox-57.0.4.source.tar.xz
:
$ sloccount firefox/
(...)
SLOC Directory SLOC-by-Language (Sorted)
1455904 media
cpp=721654,ansic=571438,asm=95277,python=40386,java=13344,
sh=9841,perl=2410,objc=895,xml=384,lisp=258,sed=17
1112010 gfx
cpp=875484,ansic=186829,asm=43360,python=3053,yacc=1737,
lex=951,sh=329,objc=123,perl=112,xml=22,awk=10
890116 dom cpp=857389,python=27930,xml=4623,perl=89,sh=85
766429 security
ansic=530818,cpp=155678,asm=48901,sh=17876,python=6211,
xml=4679,perl=1856,lex=306,yacc=79,sed=15,csh=10
699234 js
cpp=625919,ansic=38409,asm=12643,sh=12341,python=9018,
exp=499,perl=376,xml=29
574349 third_party
ansic=313892,python=83331,cpp=79774,xml=54230,asm=21179,
sh=15902,perl=2317,ada=1681,pascal=1138,cs=879,exp=22,awk=4
471389 modules cpp=269920,ansic=189121,python=6774,sh=3957,xml=1132,
perl=340,awk=142,sed=3
387225 layout cpp=378933,python=4561,xml=2717,perl=513,sh=501
325043 mobile java=296871,xml=26932,python=759,cpp=424,sh=57
324290 intl cpp=284757,ansic=30062,sh=3935,perl=3358,xml=1905,
python=255,sed=18
300401 testing
python=196969,xml=75531,cpp=19160,ansic=4495,perl=2959,
sh=676,php=444,ruby=150,csh=17
299856 toolkit
cpp=224818,xml=35203,ansic=21372,sh=11029,python=4056,
objc=2799,asm=372,perl=204,ruby=3
267014 netwerk cpp=182180,ansic=84551,python=257,sh=26
126832 db ansic=126832
123144 xpcom cpp=114588,python=4058,asm=3027,ansic=1429,perl=42
122439 widget cpp=116317,ansic=6122
120401 nsprpub
ansic=112756,sh=3474,cpp=2802,asm=826,perl=405,python=138
117148 ipc ansic=54399,cpp=53748,python=8466,sh=535
114541 browser cpp=85427,xml=23658,python=5402,sh=54
60582 parser cpp=36285,java=12610,ansic=11668,xml=19
58302 accessible cpp=57597,ansic=267,xml=255,python=183
52690 editor cpp=48291,python=4382,sh=17
50635 python python=49672,xml=895,sh=68
35605 image cpp=35452,ansic=153
32536 mfbt cpp=29541,ansic=2915,sh=80
32214 tools cpp=26016,python=3957,perl=1269,sh=972
28242 other-licenses cpp=22434,ansic=3083,python=2612,pascal=113
25167 extensions cpp=24951,sh=216
22581 build python=8529,cpp=8380,sh=3710,java=1637,ansic=317,
perl=8
20683 docshell cpp=20660,perl=21,xml=2
18734 servo python=17854,sh=531,java=256,xml=67,ansic=26
16720 taskcluster python=13477,sh=2866,xml=377
14779 uriloader cpp=14779
10824 storage cpp=10824
10568 mozglue cpp=10251,ansic=303,python=14
9780 memory cpp=7647,ansic=1214,python=919
9417 rdf cpp=9417
8646 xpfe cpp=7316,xml=1330
4197 caps cpp=4197
3952 config python=2852,ansic=659,perl=405,asm=34,xml=2
2980 devtools cpp=2883,python=78,sh=12,xml=7
2959 hal cpp=2959
2214 chrome cpp=2214
2043 view cpp=2043
1070 startupcache cpp=1070
751 services cpp=471,xml=200,python=80
397 top_dir python=226,sh=171
130 embedding objc=74,sh=37,cpp=19
9 probes python=9
0 gradle (none)
Totals grouped by language (dominant language first):
cpp: 5434669 (59.48%)
ansic: 2293130 (25.10%)
python: 506468 (5.54%)
java: 324718 (3.55%)
xml: 234199 (2.56%)
asm: 225619 (2.47%)
sh: 89298 (0.98%)
perl: 16684 (0.18%)
objc: 3891 (0.04%)
yacc: 1816 (0.02%)
ada: 1681 (0.02%)
lex: 1257 (0.01%)
pascal: 1251 (0.01%)
cs: 879 (0.01%)
exp: 521 (0.01%)
php: 444 (0.00%)
lisp: 258 (0.00%)
awk: 156 (0.00%)
ruby: 153 (0.00%)
sed: 53 (0.00%)
csh: 27 (0.00%)
Total Physical Source Lines of Code (SLOC) = 9,137,172
Development Effort Estimate, Person-Years (Person-Months) = 2,883.25
(34,599.01)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 11.06 (132.67)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 260.78
Total Estimated Cost to Develop = $ 389,487,939
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
redistribute it under certain conditions as specified by the GNU GPL license;
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."