This is what I now see for the FGData repository:
- Code: Select all
SLOC Directory SLOC-by-Language (Sorted)
28195 Nasal nasal=28195
26792 Phi javascript=26777,sh=15
22357 Aircraft nasal=22227,sh=73,python=55,javascript=2
343 top_dir python=171,nasal=161,batch=11
167 Docs python=167
164 Models nasal=164
73 Input nasal=73
18 Textures perl=18
11 Aircraft-uiuc batch=11
0 AI (none)
0 Airports (none)
0 Astro (none)
0 ATC (none)
0 Effects (none)
0 Environment (none)
0 Fonts (none)
0 Geodata (none)
0 gui (none)
0 HLA (none)
0 hud_lat_lon_format (none)
0 Huds (none)
0 Lighting (none)
0 Materials (none)
0 MP (none)
0 Navaids (none)
0 Protocol (none)
0 Shaders (none)
0 Sounds (none)
0 Timezone (none)
0 Translations (none)
0 Video (none)
Totals grouped by language (dominant language first):
nasal: 50820 (65.05%)
javascript: 26779 (34.28%)
python: 393 (0.50%)
sh: 88 (0.11%)
batch: 22 (0.03%)
perl: 18 (0.02%)
Total Physical Source Lines of Code (SLOC) = 78,120
Development Effort Estimate, Person-Years (Person-Months) = 19.43 (233.14)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 1.65 (19.84)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 11.75
Total Estimated Cost to Develop = $ 2,624,472
(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'."
Looking at the flightgear repository, we have:
- Code: Select all
SLOC Directory SLOC-by-Language (Sorted)
324170 3rdparty ansic=301618,sh=16969,cpp=4897,asm=642,perl=23,batch=21
70562 src_FDM cpp=66547,ansic=4015
20615 src_Instrumentation cpp=20615
18906 utils cpp=14791,ansic=1491,python=1457,perl=1072,sh=95
15536 build_debug cpp=15484,tcl=52
15082 src_GUI cpp=14824,objc=258
11865 src_Network cpp=11865
8642 src_Main cpp=8606,perl=36
7978 src_AIModel cpp=7978
7912 src_Navaids cpp=7912
6679 src_Viewer cpp=6679
5674 src_Scripting cpp=5674
5597 scripts perl=3344,python=973,sh=686,java=314,cpp=152,ansic=115,
batch=13
4459 src_Cockpit cpp=4459
4400 build_python cpp=4400
3542 src_Airports cpp=3542
3411 src_Environment cpp=3411
3160 src_ATC cpp=3160
3093 src_Aircraft cpp=3093
3000 src_Input cpp=3000
2903 build_old cpp=2903
2741 src_Autopilot cpp=2741
1955 src_Radio cpp=1955
1952 src_MultiPlayer cpp=1952
1815 tests cpp=1815
1640 src_Scenery cpp=1640
1397 src_Sound cpp=1397
1350 src_Traffic cpp=1350
896 src_EmbeddedResources cpp=896
796 src_Time cpp=659,ansic=137
790 src_Systems cpp=790
726 src_Model cpp=726
703 src_Canvas cpp=703
625 build_32bit ansic=318,cpp=307
433 package innosetup=330,sh=84,batch=19
311 build_clang ansic=311
241 deg_test cpp=211,sh=30
92 examples cpp=92
13 src_Include ansic=13
1 src_top_dir sh=1
1 top_dir sh=1
0 CMakeModules (none)
0 docs-mini (none)
0 icons (none)
0 man (none)
0 patches (none)
0 Translations (none)
Totals grouped by language (dominant language first):
ansic: 308018 (54.45%)
cpp: 231226 (40.88%)
sh: 17866 (3.16%)
perl: 4475 (0.79%)
python: 2430 (0.43%)
asm: 642 (0.11%)
innosetup: 330 (0.06%)
java: 314 (0.06%)
objc: 258 (0.05%)
batch: 53 (0.01%)
tcl: 52 (0.01%)
Total Physical Source Lines of Code (SLOC) = 565,664
Development Effort Estimate, Person-Years (Person-Months) = 155.32 (1,863.79)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 3.64 (43.72)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 42.63
Total Estimated Cost to Develop = $ 20,981,092
(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'."
And for simgear:
- Code: Select all
SLOC Directory SLOC-by-Language (Sorted)
22006 scene cpp=22006
13525 canvas cpp=6899,ansic=6626
10226 io cpp=10226
8595 hla cpp=8595
6274 nasal ansic=5258,cpp=1016
4938 props cpp=4938
4607 misc cpp=4374,ansic=233
4238 package cpp=2385,ansic=1853
3196 structure cpp=3196
2760 sound cpp=2760
1537 environment cpp=1537
1446 math cpp=1372,ansic=74
1239 timing cpp=1239
1031 bvh cpp=1031
647 debug cpp=647
589 ephemeris cpp=589
586 embedded_resources cpp=586
487 bucket cpp=487
425 screen cpp=425
399 serial cpp=399
350 magvar cpp=350
318 threads cpp=318
309 xml cpp=309
203 top_dir ansic=203
Totals grouped by language (dominant language first):
cpp: 75684 (84.16%)
ansic: 14247 (15.84%)
Total Physical Source Lines of Code (SLOC) = 89,931
Development Effort Estimate, Person-Years (Person-Months) = 22.52 (270.28)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 1.75 (20.99)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 12.88
Total Estimated Cost to Develop = $ 3,042,612
(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'."
Summarising:
- * flightgear 565,664 SLOC
* simgear 89,931 SLOC
* fgdata 78,120 SLOC
Regards,
Edward