I used sloccount and it reports roughly 1.35 million lines of code without
comments.
SLOC Directory SLOC-by-Language (Sorted)
651515 awsapi java=651509,sh=6
142854 client javascript=121639,python=11230,sh=6951,jsp=3007,
perl=27
127014 server java=127009,sh=5
97243 plugins java=94186,python=2928,sh=129
75653 engine java=75648,jsp=5
73218 test python=65414,java=6910,sh=894
52898 api java=52869,python=29
28910 deps java=28905,sh=5
17697 utils java=17678,python=19
14923 core java=14923
14730 ui javascript=14730
11171 tools python=9323,sh=1569,ruby=182,java=97
10949 services java=8488,javascript=1611,sh=690,python=160
8572 vmware-base java=8572
7085 patches sh=6878,python=207
3761 usage java=3589,sh=172
3136 agent java=2533,sh=326,python=277
2921 framework java=2921
2877 python python=2601,sh=276
815 cloud-cli python=815
755 packaging sh=755
697 setup python=697
592 awsapi-setup sh=530,python=62
56 debian sh=56
11 docs sh=11
0 agent-simulator (none)
0 build (none)
0 developer (none)
0 scripts (none)
0 target (none)
0 top_dir (none)
Totals grouped by language (dominant language first):
java: 1095837 (81.17%)
javascript: 137980 (10.22%)
python: 93762 (6.95%)
sh: 19253 (1.43%)
jsp: 3012 (0.22%)
ruby: 182 (0.01%)
perl: 27 (0.00%)
Total Physical Source Lines of Code (SLOC) = 1,350,053
Development Effort Estimate, Person-Years (Person-Months) = 387.17 (4,646.00)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 5.16 (61.86)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 75.10
Total Estimated Cost to Develop = $ 52,300,999
(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'."
> -----Original Message-----
> From: La Motta, David [mailto:[email protected]]
> Sent: Thursday, September 26, 2013 9:39 AM
> To: [email protected]
> Subject: Lines of contributed code
>
> Hey everybody, as an advocate of CloudStack for NetApp and our
> customers, I am often times asked to compare and contrast ACS with
> OpenStack. One interesting metric that I am looking at right now is
> that OpenStack has about 1.7 million lines of contributed code.
>
> How many can we say about CloudStack??
>
> Thanks!
>
>
> David La Motta
> Technical Marketing Engineer - Citrix Solutions | NetApp
> Direct: 1.919.476.5042
> Mobile: 1.919.413.5600
>
> [NetApp]<http://netapp.com/> [@virtualcrusader]
> <http://twitter.com/virtualcrusader> [LinkedIn]
> <https://www.linkedin.com/profile/view?id=4658253&trk>
> [@virtualcrusader] <https://plus.google.com/110793446514662070219>
> [[email protected]] <mailto:[email protected]>
>