It’s no surprise that when it comes to languages used within a Linux distribution that C and C++ lead the way, but would you have expected 429 lines of COBOL and 1933 lines of Modula3 to have made their way into the code?
Those are the numbers according to research completed by Perth-based programmer James Bromberger.
(Credit: James Bromberger)
Bromberger used the sloccount tool for his analysis and combined it with COCOMO to arrive at a figure of AU$17 billion for the cost of reproducing Debian Wheezy, but I think that’s a better measurement of the FOSS ecosystem than one particular distribution.
I didn’t expect to see Java up as high as it is, but NetBeans clocks in at 4.74 million lines of code and is the second biggest package in the distribution after the Linux kernel, which came in at 9.8 million lines of code. The top five packages in terms of lines counted was: the kernel, NetBeans, NWChem (3.96 million), Iceowl (3.44 million), kFreeBSD (3.42 million).
Below is the full table of lines of code per language. Quite a few interesting entries in there.