Lines of Code

The code base at work is by far the largest I have worked with. How large? Well today I can answer that question: Trunk

http://cloc.sourceforge.net v 0.90  T=87.0 s (24.1 files/s, 16787.6 lines/s)
-------------------------------------------------------------------------------

Language          files     blank   comment      code    scale   3rd gen. equiv

-------------------------------------------------------------------------------

C++                 686    153118    245923    462783 x   1.51 =      698802.33

C/C++ Header        872     41133     45052    177992 x   1.00 =      177992.00

C                   226     28514     25682    171041 x   0.77 =      131701.57

HTML                185      2942       271     71289 x   1.90 =      135449.10

XML                   1       221       217      8473 x   1.90 =       16098.70

Java                 27      1450      3249      6436 x   1.36 =        8752.96

Assembler            27       707      1328      4988 x   0.25 =        1247.00

Make                 16       641       666      2374 x   2.50 =        5935.00

CSS                   5       184        24       794 x   1.00 =         794.00

Visual Basic          6       202       540       625 x   2.76 =        1725.00

NAnt scripts         19       148       107       423 x   1.90 =         803.70

Teamcenter def       15        43         0       159 x   1.00 =         159.00

Bourne Shell          5        12        16       154 x   3.81 =         586.74

Javascript            3        44        20       128 x   1.48 =         189.44

IDL                   2        19         0       119 x   3.80 =         452.20

DOS Batch             5        72        74        97 x   0.63 =          61.11

Rexx                  1        17         2         8 x   1.19 =           9.52

-------------------------------------------------------------------------------

SUM:               2101    229467    323171    907883 x   1.30 =     1180759.37

-------------------------------------------------------------------------------

The specific code I am currently working on (and actually starting to understand):

http://cloc.sourceforge.net v 0.90  T=14.0 s (7.4 files/s, 10276.4 lines/s)
-------------------------------------------------------------------------------

Language          files     blank   comment      code    scale   3rd gen. equiv

-------------------------------------------------------------------------------

C++                  41     18078     30502     73376 x   1.51 =      110797.76

C/C++ Header         60      2811      3301     15682 x   1.00 =       15682.00

HTML                  1        24         0        91 x   1.90 =         172.90

Teamcenter def        1         0         0         5 x   1.00 =           5.00

-------------------------------------------------------------------------------

SUM:                103     20913     33803     89154 x   1.42 =      126657.66

-------------------------------------------------------------------------------

Note that these don’t include some files like our HTML templates and the resource files. Also, I wish CLOC did HTML output.