JavacLintSummary
JavacLintSummary
prints a summary of how many of
each type of lint or doclint message are generated in the given
files and packages.
The programs work by compiling the given files and packages, and analysing the diagnostics generated by javac. It generated a table identifying the number of each category of diagnostic in each package for which diagnostics are reported.
JavacLintSummary
can write an XML file for use with
the Plot Plugin for Hudson or Jenkins, to facilitate displaying
trend graphs for the number of warnings in a package or the number
of warnings of a particular type.
Usage
java -jar javacLintSummary.jar options files-or-packages
Options
-bootclasspath -classpath -sourcepath | These options are all the same as for javac. |
-Xlint -Xlint:opts -Xdoclint -Xdoclint:opts | These options are all as for javac; the default is
-Xlint |
-htmlDir dir | Specify the directory for an HTML report (no report if not specified) |
-xml file | Specify the file for an XML report (no report if not specified) |
-title string | Specify a plain text title for report |
files-or-packages | Files are recognized by ending in .java . Packages
can be given as p.q or p.q.**. They are expanded
using the value of -sourcepath . p.q expands to
the set of compilation units in package p.q; p.q.**
expands to the set of compilation units in package p.q and
all subpackages.Take care to quote the wildcard form when necessary, such as on a shell command line. |