The summary for the percentage values is only an average based on values for all reported classes. At the opposite, the coverage tools, for example, compute the real number of lines covered against the total lines of codes. So far, it is the only way we could implement this summary.
Check that you are using a version >= 3.0 of the Maven Checkstyle Plugin.
Otherwise, you need to change these properties:
# Properties for the Checkstyle error/warning/info aggregator (all errors/warnings/infos) maven.author.aggregator.csall.artifact = ${maven.build.dir}/checkstyle-raw-report.xml maven.author.aggregator.csall.report = checkstyle-report.html # Properties for the Checkstyle error aggregator (only errors) maven.author.aggregator.cserrors.artifact = ${maven.build.dir}/checkstyle-raw-report.xml maven.author.aggregator.cserrors.report = checkstyle-report.html # Properties for the Checkstyle warning aggregator (only warnings) maven.author.aggregator.cswarnings.artifact = ${maven.build.dir}/checkstyle-raw-report.xml maven.author.aggregator.cswarnings.report = checkstyle-report.html # Properties for the Checkstyle info aggregator (only infos) maven.author.aggregator.csinfos.artifact = ${maven.build.dir}/checkstyle-raw-report.xml maven.author.aggregator.csinfos.report = checkstyle-report.html
Check you have tell the Maven Emma Plugin to generate an XML report, by using the following property:
maven.emma.report.xml = true
Check you have tell the Maven Clover Plugin to generate an XML report, by using the following property:
maven.clover.report.xml = true