I used this some time ago and it worked. Hope it helps...<br><br>linesOfCodeOf: aSetOfClasses<br>| loc |<br>loc := 0.<br>aSetOfClasses do: [ : aClass |<br>&nbsp;&nbsp;&nbsp; aClass class methodsDo: [ : aCompiledMethod | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; loc := loc + aCompiledMethod linesOfCode.<br>

&nbsp;&nbsp;&nbsp; ].&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; aClass methodsDo: [ :aCompiledMethod | <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; loc := loc + aCompiledMethod linesOfCode.<br>&nbsp;&nbsp;&nbsp; ].<br>].<br>^ loc<br><br>Now, you only need to know how to get what the classes of a project are.<br>Regards<br>

Alejandro<br><br><div class="gmail_quote">On Jan 30, 2008 4:28 PM,  &lt;<a href="mailto:squeak-dev.5.pris@spamgourmet.com" target="_blank">squeak-dev.5.pris@spamgourmet.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi,<br><br>what is the easiest way of counting LOC of my project?<br><br>Thanks Roland<br><br></blockquote></div><br>