rzvika2
asked on
Java code statistics
Hi!
I need a program that counts the lines with/without comment.
I know that it is quite simple to do it, but is there a project that can do many kinds of statistics (such as count of words, chars, number of methods, and others...)
I'm not looking for commercial product.
Thanks in advanced!
I need a program that counts the lines with/without comment.
I know that it is quite simple to do it, but is there a project that can do many kinds of statistics (such as count of words, chars, number of methods, and others...)
I'm not looking for commercial product.
Thanks in advanced!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
it's all inside RefactorIT :) but the author is not about commercial tool
JCSC (http://jcsc.sourceforge.net) - quality analysis tool
checkstyle (http://checkstyle.sourceforge.net) - for formatting checks of the code
JDepend (http://www.clarkware.com/software/JDepend.html) - code dependencies
statCVS (http://statcvs.sf.net) - useful if you use CVS to get project statistics
PMD (http://pmd.sourceforge.net) - VERY handy for spotting potential problems (unused variables, empty catch blocks, empty if statements, etc
JavaNCSS - (see above) - good for general metrics