Lines Of Code of Squeak and Pharo
I have written a small class named DesignInfo (http://www.squeaksource.com/DesignInfo.html) to gather information about the lines of code of all Monticello packages in a Smalltalk image. It can distinguish between test and production code and create a morph that shows the information as a bar chart.
Here is the information of a current Squeak trunk image – 330332 lines of code in 60 packages:
And here is the information of the current stable Pharo-1.1.1-dev10.09.1.image – 413413 lines of code in 185 packages:
The test code is shown in light blue.
I find it quite interesting and it was fun to program. It’s Smalltalk after all. 😉
Leave a comment