[dwm] android sloccount ~11 million

From: Kai Hendry <hendry_AT_iki.fi>
Date: Fri, 7 Nov 2008 13:19:54 +0000

Follow up to http://lists.suckless.org/dwm/0811/6958.html

---------- Forwarded message ----------
From: Kai Hendry <hendry_AT_hetty.webconverger.com>
Date: Fri, Nov 7, 2008 at 1:02 PM
Subject: android sloccount
To: hendry_AT_iki.fi

Creating filelist for bionic
Creating filelist for bootloader
Creating filelist for build
Creating filelist for dalvik
Creating filelist for development
Creating filelist for external
Creating filelist for frameworks
Creating filelist for hardware
Creating filelist for kernel
Have a non-directory at the top, so creating directory top_dir
Adding /home/hendry/android/./Makefile to top_dir
Creating filelist for out
Creating filelist for packages
Creating filelist for prebuilt
Creating filelist for recovery
Adding /home/hendry/android/./reepo to top_dir
Creating filelist for system
Categorizing files.
Finding a working MD5 command....
Found a working MD5 command.
Warning: in dalvik, number of duplicates=112
WARNING! File /home/hendry/android/external/webkit/WebKitTools/iExploder/htdocs/iexploder.cgi
has unknown start: #!/usr/bin/ruby
WARNING! File /home/hendry/android/external/webkit/WebKitTools/Scripts/clean-header-guards
has unknown start: #!/usr/bin/ruby
WARNING! File /home/hendry/android/external/opencore/protocols/rtp_payload_parser/util/output/pv_rtp.bin
has unknown start: #!@PVRTPX
Warning: in external, number of duplicates=409
Warning: in kernel, number of duplicates=237
Warning: in prebuilt, number of duplicates=137
Computing results.

SLOC Directory SLOC-by-Language (Sorted)
5933715 kernel ansic=5699380,asm=216369,perl=5972,cpp=3962,yacc=2901,
                       sh=2546,lex=1824,python=331,lisp=218,pascal=116,awk=96
3408872 external ansic=1622401,cpp=1303963,asm=199757,java=70100,

perl=67105,sh=63778,php=38425,objc=15399,python=14105,yacc=4608,cs=2308,lex=2096,ada=1681,ruby=1585,pascal=1089,exp=200,awk=195,sed=43,lisp=34
537928 dalvik java=442045,ansic=76304,cpp=9565,asm=8221,sh=1442,
                       python=340,perl=11
442056 frameworks java=308683,cpp=121949,ansic=10663,yacc=260,lex=210,
                       sh=141,cs=85,asm=65
186802 system ansic=169565,cpp=15309,sh=902,asm=707,yacc=137,lex=103,
                       java=79
162683 packages java=162580,python=103
123811 development java=94558,cpp=21716,ansic=5203,sh=1232,python=746,
                       ruby=183,lisp=110,pascal=63
97752 bionic ansic=85735,asm=8802,python=3108,cpp=107
26702 prebuilt ansic=24892,sh=1810
20043 build java=9207,ansic=6386,cpp=1461,cs=1450,sh=989,python=550
9216 recovery ansic=8088,sh=428,yacc=369,lex=283,python=48
7166 hardware ansic=5007,cpp=2159
4773 bootloader ansic=4651,asm=122
461 top_dir sh=461
0 out (none)

Totals grouped by language (dominant language first):
ansic: 7718275 (70.41%)
cpp: 1480191 (13.50%)
java: 1087252 (9.92%)
asm: 434043 (3.96%)
sh: 73729 (0.67%)
perl: 73088 (0.67%)
php: 38425 (0.35%)
python: 19331 (0.18%)
objc: 15399 (0.14%)
yacc: 8275 (0.08%)
lex: 4516 (0.04%)
cs: 3843 (0.04%)
ruby: 1768 (0.02%)
ada: 1681 (0.02%)
pascal: 1268 (0.01%)
lisp: 362 (0.00%)
awk: 291 (0.00%)
exp: 200 (0.00%)
sed: 43 (0.00%)

Total Physical Source Lines of Code (SLOC) = 10,961,980
Development Effort Estimate, Person-Years (Person-Months) = 3,490.71 (41,888.49)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 11.89 (142.67)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 293.60
Total Estimated Cost to Develop = $ 471,547,101
 (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'."
Received on Fri Nov 07 2008 - 13:19:54 UTC

This archive was generated by hypermail 2.2.0 : Fri Nov 07 2008 - 13:24:05 UTC