JavaStats77 is a tool for generation source code statistics in html format and converting .java files into html. It is a subproject of Battery Project. See the report example at the website. It is an open source project. JavaStats77 is integrated with another open source project Java2Html.
What do you think?