Page 1 of 1

PS2SDK SLOC

Posted: Tue Jun 09, 2009 8:13 pm
by misfire
According to cloc, the PS2SDK has over 100.000 lines of code (r1590).

The tool ignores some files like Makefile.sample but it still gives you a good idea of the great effort put into the SDK.

Code: Select all

$ cloc --ignored /tmp/ignore ps2sdk
    1119 text files.
    1012 unique files.                                          
Wrote /tmp/ignore
     215 files ignored.

http://cloc.sourceforge.net v 1.07  T=2.0 s (443.5 files/s, 98851.0 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                   393     22577     28056     98399 x   0.77 =       75767.23
C/C++ Header        325      5991      9515     20202 x   1.00 =       20202.00
Assembly             46      1272       849      7204 x   0.25 =        1801.00
make                120       872      1027      1627 x   2.50 =        4067.50
C++                   2        13        25        55 x   1.51 =          83.05
Bourne Shell          1         0         0        18 x   3.81 =          68.58
-------------------------------------------------------------------------------
SUM:                887     30725     39472    127505 x   0.80 =      101989.36
-------------------------------------------------------------------------------