project stats

hey :slight_smile:

does any of you know of any program that calculates some statistics of a java project?

like, count of words, count of words in comments, most referenced field, most instantiated class, stuff like that… no runtime information, just plain sourcecode statistics…

searching google for words like “text statistics” or “java project statistics” doesn’t work, the words are use in other contexts too often :stuck_out_tongue:

maybe this discussion will help you:
http://forum.java.sun.com/thread.jspa?threadID=672454&messageID=3935065

and here very good statistic tool 4 java: java-source.net/open-source/code-analyzers

DoctorJ should be that what you are looking for

doctorj is not 1.5-syntax compatible, and dies after some “unexpected identifier: <” errors :frowning:

shiXt happens :wink: , but on this page are other tools that you can use i think, if not try in google and when you are searching at first time search only for “java” keyword and then search in advanced mode in results for statistic etc and you will find what you want