I neeed a free tool to count SLOC on a Java project. I only really need the following metrics:
Bonus:
Did you consider using Sonar (which uses its own internal tool since version 1.9, sonar-squid, instead of JavaNCSS which has some flaws and doesn't work well with Java 1.5 or 1.6 projects)? This is the kind of report you'll get:
alt text http://sonar.codehaus.org/wp-content/uploads/2009/05/sonar-squid.jpg
Sonar does a lot more than just collecting SLOC though, maybe not what you want.
My advice is don't.
You get what you measure for.
If you reward big LOC, you'll get a lot of LOC.
If you reward small LOC, you'll get perl.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With