views:

67

answers:

2

How to calculate line count for "Java Project" ? I'm using Netbeans 6.9

Thanks in advance

+3  A: 

Have a look at the NetBeans Metrics Module.

NetBeans Metric Module is a module for NetBeans that can measure your java source code and display the results in NetBeans.


Or the wordcount plugin.

Counts characters, words, and lines of java files

aioobe
+1  A: 

Sloccount is a very good application to count number of lines of code.

You can find more information here: Sloccount

Antoine Pelisse
one should add that sloccount will usually, esp. in more complex projects give a more "sensible" answer than a normal line count since it only counts non-blank, non-comment lines and only counts a given file once (even if there are multiple copies)
jdisk