From csdms
[edit] Source Lines of Code
"Measuring programming progress by lines of code is like measuring aircraft building progress by weight"
Below is a rough count of the number of source lines of code contained within the CSDMS model repository. Only models that are available for download from CSDMS are included. In this estimate, a source line is considered as any line that is not part of a comment, and is not blank. I have included SLOC summaries by application, and by language.
Updated: 2009-11-16
[edit] By Application
| Application | Blank | Comment | Source | Total |
|---|---|---|---|---|
| sedflux-2.0.81 | 16191 | 14453 | 70324 | 100968 |
| child-09.04.18 | 6150 | 17554 | 39186 | 62890 |
| topoflow-1.5.0 | 4085 | 5228 | 17107 | 26420 |
| cmft-0.1 | 1624 | 3166 | 19970 | 24760 |
| topoflow-py-3.1.0 | 4054 | 4060 | 11980 | 20094 |
| marssim-3.0.0 | 90 | 795 | 14952 | 15837 |
| HydroTrend_3.0.2 | 808 | 3220 | 5281 | 9309 |
| deltasim-7.7.0 | 1017 | 297 | 5374 | 6688 |
| plume-0.1.0 | 852 | 1061 | 3559 | 5472 |
| sakura-0.1.0 | 911 | 609 | 3477 | 4997 |
| midas-0.1 | 27 | 0 | 3511 | 3538 |
| sedflux-contractor | 415 | 84 | 1934 | 2433 |
| inflow-0.1.0 | 367 | 244 | 1510 | 2121 |
| xshore-0.1.0 | 282 | 397 | 1294 | 1973 |
| gc2d-0.1.0 | 499 | 289 | 1110 | 1898 |
| failure-0.1.0 | 320 | 119 | 1154 | 1593 |
| flow-0.1.0 | 337 | 89 | 1156 | 1582 |
| diffusion-0.1.0 | 158 | 348 | 820 | 1326 |
| squall-0.1.0 | 182 | 247 | 722 | 1151 |
| bio-0.1.0 | 169 | 158 | 575 | 902 |
| bing-0.1.0 | 131 | 192 | 572 | 895 |
| avulsion-0.1.0 | 180 | 83 | 611 | 874 |
| compact-0.1.0 | 193 | 48 | 530 | 771 |
| bedrock-erosion-model-0.1.0 | 47 | 18 | 633 | 698 |
| muds-0.1.0 | 103 | 53 | 450 | 606 |
| streampower-0.1.0 | 43 | 15 | 518 | 576 |
| longpro-0.1 | 12 | 0 | 496 | 508 |
| lithflex-0.1 | 4 | 0 | 503 | 507 |
| subside-0.1.0 | 85 | 99 | 288 | 472 |
| quake-0.1.0 | 59 | 16 | 359 | 434 |
| adi-2d-0.1.0 | 33 | 15 | 370 | 418 |
| mfdrouting-successive-0.1.0 | 32 | 13 | 313 | 358 |
| spirals1d-0.1.0 | 31 | 4 | 292 | 327 |
| ROOT | 103 | 48 | 161 | 312 |
| flex2d-adi-0.1.0 | 34 | 14 | 256 | 304 |
| mfdrouting-0.1.0 | 28 | 9 | 259 | 296 |
| fourier-bessel-integration-0.1.0 | 35 | 6 | 247 | 288 |
| fractionalnoises2d-0.1.0 | 25 | 6 | 243 | 274 |
| ice-sheet-glacier-reconstruction-0.1.0 | 30 | 15 | 224 | 269 |
| werners-eolian-dune-0.1.0 | 30 | 10 | 228 | 268 |
| fractionalnoises1d-0.1.0 | 23 | 5 | 230 | 258 |
| 2dflowvel-0.1 | 1 | 0 | 238 | 239 |
| windsea-0.1 | 1 | 0 | 236 | 237 |
| storm-0.1 | 24 | 0 | 168 | 192 |
| channel-oscillation-0.1.0 | 17 | 3 | 171 | 191 |
| flex2d-0.1.0 | 17 | 7 | 166 | 190 |
| WSGFAM | 39 | 16 | 134 | 189 |
| waveref-0.1 | 1 | 0 | 179 | 180 |
| stvenant-0.1 | 1 | 0 | 173 | 174 |
| flex1d-0.1.0 | 17 | 3 | 143 | 163 |
| ftcs2d-terracediffusion-0.1.0 | 16 | 10 | 121 | 147 |
| iceages-0.1.0 | 18 | 3 | 122 | 143 |
| fillinpitsflatsdem-0.1.0 | 20 | 5 | 95 | 120 |
| lavaflow2d-0.1.0 | 12 | 2 | 96 | 110 |
| ftcs2d-0.1.0 | 15 | 6 | 84 | 105 |
| coupled1d-0.1.0 | 11 | 4 | 88 | 103 |
| ftcs1d-nonlinear-0.1.0 | 11 | 3 | 84 | 98 |
| Total | 40020 | 53149 | 215077 | 308246 |
[edit] By Language
| Language | Blank | Comment | Source | Total |
|---|---|---|---|---|
| c | 19752 | 20087 | 89246 | 129085 |
| c++ | 4624 | 13898 | 30094 | 48616 |
| Fortran 90 | 1697 | 3843 | 34886 | 40426 |
| IDL | 4213 | 5359 | 17495 | 27067 |
| Python | 4840 | 4302 | 14636 | 23778 |
| c Header | 2728 | 5087 | 14516 | 22331 |
| Fortran 77 | 75 | 0 | 6087 | 6162 |
| QuickBASIC | 718 | 263 | 2741 | 3722 |
| Visual Basic Form | 299 | 34 | 2633 | 2966 |
| automake | 680 | 52 | 1355 | 2087 |
| MATLAB | 338 | 198 | 1213 | 1749 |
| Makefile | 56 | 26 | 175 | 257 |
| Total | 40020 | 53149 | 215077 | 308246 |
