RE: Line of Code Counter?

2001-09-10 Thread Lou Farho
Thanks to all that have responded. I appreciate the feedback. An old friend sent me the following which included JavaNCSS. JavaNCSSFree provides basic metrics including McCabe metrics RSM $195 provides extended metrics including McCabe metrics, plus code

RE: Line of Code Counter?

2001-09-07 Thread Brugge, John
Check out JavaNCSS (NCSS = non-commenting source statements). In addition to simple lines of code in your application, it counts lines per method, methods per class, and classes per package, to name just a few metrics. The output is in a nice tabular format, easy to read and easy to analyze.

RE: Line of Code Counter?

2001-09-06 Thread Nick Chalko
try grep -c ; *.java -Original Message- From: Lou Farho [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 8:11 AM To: Struts user Subject: Line of Code Counter? Can anyone point me to a good utility for performing line of code counter for Java and C++? The counter needs to

Re: Line of Code Counter?

2001-09-06 Thread John Raley
Off-topic, but I just learned some awk... awk '/;[:blank:]*/ { count++ } /(if|for|while|switch).*\(/ { count++ } END { print count; }' `find . -name \*.java` This should get reasonably close. awk exists for Windows but I don't know what the equivalent of find is. Probably faster to install

RE: Line of Code Counter?

2001-09-06 Thread Flying Cloud
http://www.dwheeler.com/sloccount/ This is the home page of ``SLOCCount'', a set of tools for counting physical Source Lines of Code (SLOC) -Sandra [EMAIL PROTECTED]