tags:

views:

307

answers:

7

What do you use to measure LoC metrics of your projects?

+4  A: 

SourceMonitor calculates a series of metrics and among others there is LOC. Besides C++, C, C#, VB.NET, Java, VB6 it works for Delphi too.

The Chairman
+6  A: 

Pascal Analyzer

Scoregraphic
+1 for Pascal Analyzer.
RRUZ
Thanks to everyone, this seems to be a good metrics tool. Gotta check it out. ps. and yes LoC measuring alone is a useless metric. Though one justs wants to learn how big it is(!), for vanity you know :)
utku_karatas
+3  A: 

Don't use it because it's an old, useless metric.

ldsandon
+5  A: 

I don't use them. LOC metrics have one problem: they encourage writing code like this.

azheglov
Agreed. Best LOC metric I ever saw: http://tinyurl.com/ocg9fb
Mason Wheeler
Mason, thank you for the link! What a great way for a software pro to beat a stupid system.
azheglov
+1  A: 

CodeHealer gives you lots of different metrics, including lines of code.

Bruce McGee
+2  A: 

Build-All, then note down the approximate number of lines.

Unfortunately this metric isn't very useful other than to possibly impress non programmers where a large statistic thrown out can make the department look impressive. The reality is that a ten thousand line program can be five times more complex than one in the tens of millions. Its not the lines of code that make the product, its the engineering that put the lines together.

skamradt