Bernhard blogs about IT

Lines Of Code of Squeak and Pharo

leave a comment »

I have written a small class named DesignInfo ( 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. 😉

Written by Bernhard Pieber

7. November 2010 at 21:53

Posted in Smalltalk

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: