Having a spare moment this Christmas morning I thought I'd run sloccount <http://www.dwheeler.com/sloc/> over FlightGear and SimGear to get an estimate of how much code we have developed over the years.
sloccount ./FlightGear/src SLOC Directory SLOC-by-Language (Sorted) 40609 FDM cpp=37050,ansic=3559 7050 Cockpit cpp=7050 6771 Main cpp=6661,perl=72,sh=38 3792 Network cpp=3792 3154 GUI cpp=2934,ansic=220 2927 Objects cpp=2331,ansic=596 2735 WeatherCM cpp=2735 2529 ATC cpp=2529 2281 NetworkOLK ansic=1717,cpp=564 2255 Scenery cpp=2255 1525 Autopilot cpp=1525 1149 Input cpp=1149 916 Model cpp=916 842 Time cpp=705,ansic=137 737 Sound cpp=737 675 Environment cpp=675 586 Airports cpp=586 463 Controls cpp=463 433 Systems cpp=433 404 Navaids cpp=404 340 Instrumentation cpp=340 105 Include ansic=105 30 Aircraft cpp=30 0 CVS (none) 0 top_dir (none) Totals grouped by language (dominant language first): cpp: 75864 (92.17%) ansic: 6334 (7.70%) perl: 72 (0.09%) sh: 38 (0.05%) Total Physical Source Lines of Code (SLOC) = 82,308 Development Effort Estimate, Person-Years (Person-Months) = 20.52 (246.28) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 1.69 (20.26) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 12.15 Total Estimated Cost to Develop = $ 2,772,399 (average salary = $56,286/year, overhead = 2.40). SLOCCount is Open Source Software/Free Software, licensed under the FSF GPL. Please credit this data as "generated using David A. Wheeler's 'SLOCCount'." sloccount ./SimGear/simgear SLOC Directory SLOC-by-Language (Sorted) 12805 sky cpp=9202,ansic=3603 8239 xml ansic=7984,cpp=255 7255 metar cpp=5977,ansic=1278 4054 xgl ansic=4054 3382 misc cpp=3382 2192 io cpp=2192 1285 timing cpp=1285 1028 screen cpp=1028 647 math cpp=554,ansic=93 575 ephemeris cpp=575 442 top_dir cpp=261,ansic=181 341 magvar cpp=341 329 serial cpp=329 178 bucket cpp=178 148 route cpp=148 109 debug cpp=109 81 threads cpp=81 0 CVS (none) 0 interpreter (none) Totals grouped by language (dominant language first): cpp: 25897 (60.10%) ansic: 17193 (39.90%) Total Physical Source Lines of Code (SLOC) = 43,090 Development Effort Estimate, Person-Years (Person-Months) = 10.40 (124.83) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 1.30 (15.65) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 7.98 Total Estimated Cost to Develop = $ 1,405,196 (average salary = $56,286/year, overhead = 2.40). SLOCCount is Open Source Software/Free Software, licensed under the FSF GPL. Please credit this data as "generated using David A. Wheeler's 'SLOCCount'." Best wishes to all, Bernie _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
