Source Lines of Code

Back

I generated source lines of code statistics using David A. Wheeler's 'SLOCCount'. Here are the SLOC counts for the packages directory that contains the source code as C++ header files.
Algorithms and Data Structures 11940
Closest Point Transform 1753
Computational Geometry 20115
Concurrent Algorithms 605
Eulerian/Lagrangian Coupling 576
Numerical Algoritms 8959
Molecular Surface Triangulations 668
Single-Source Shortest-Paths 1492
Static Hamilton-Jacobi Equations 2349
Stochastic Simulations 4907

Total Physical Source Lines of Code (SLOC)                = 53,364
Development Effort Estimate, Person-Years (Person-Months) = 13.02 (156.25)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 1.42 (17.04)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 9.17
Total Estimated Cost to Develop                           = $ 1,758,946
 (average salary = $56,286/year, overhead = 2.40).
There is also a significant amount of C++ code used for example programs, performance analysis programs, and unit tests. Here is the combined data for the examples performance and test directories.
Total Physical Source Lines of Code (SLOC)                = 56,994
Development Effort Estimate, Person-Years (Person-Months) = 13.95 (167.43)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 1.46 (17.50)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 9.57
Total Estimated Cost to Develop                           = $ 1,884,787
 (average salary = $56,286/year, overhead = 2.40).

http://www.its.caltech.edu/~sean/ / at(sean, dot(caltech, edu)) / Last Modified: September 3, 2009