I used wc -l to count lines and files in ./grass65_dev/gui/wxpython (source from develbranch_6) and came up with a considerably larger number.
number of files: 136 (including image files) + 71 new icons (143 old icons) lines of written code: 91,818 (not counting lines in image and icon files) This is ONLY the wxPython code base. The TclTk code base is not as large, but is still considerable. I wonder why SLOCCount undercounts by so much? I guess that the SLOCCount 'estimated cost to develop' ought to be a lot higher too. Michael ____________________ C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Dec 19, 2009, at 7:38 PM, Hamish wrote: > Michael wrote: >> The GUI is a huge programming effort. A year ago, >> it was over 40,000 lines of code and I suspect it is now >> over 50,000. > > fwiw > > $ sloccount trunk/gui/ trunk/lib/python/ > > > SLOC Directory SLOC-by-Language (Sorted) > 35268 gui python=30290,cpp=4722,sh=256 > 462 python python=462 > > > Totals grouped by language (dominant language first): > python: 30752 (86.07%) > cpp: 4722 (13.22%) > sh: 256 (0.72%) > > > > > Total Physical Source Lines of Code (SLOC) = 35,730 > Development Effort Estimate, Person-Years (Person-Months) = 8.55 (102.54) > (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) > Schedule Estimate, Years (Months) = 1.21 (14.52) > (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) > Estimated Average Number of Developers (Effort/Schedule) = 7.06 > Total Estimated Cost to Develop = $ 1,154,320 > (average salary = $56,286/year, overhead = 2.40). > > > "generated using David A. Wheeler's 'SLOCCount'." > > > > > _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
