dziś jest dzień postgresql'owy, więc kolejna informacja o nim.
jest taki program: sloccount. służy do liczenia ilości linii kodu, oraz estymowaniu kosztów stworzenia programu.
odpaliłem go na źródłach postgresa 8.2. oto wynik:
Totals grouped by language (dominant language first): ansic: 479298 (94.01%) yacc: 14698 (2.88%) sh: 7805 (1.53%) lex: 5349 (1.05%) perl: 2608 (0.51%) asm: 65 (0.01%) python: 12 (0.00%) <br/> Total Physical Source Lines of Code (SLOC) = 509,835 Development Effort Estimate, Person-Years (Person-Months) = 139.26 (1,671.14) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 3.50 (41.95) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 39.84 Total Estimated Cost to Develop = $ 18,812,337 (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'."