A handler class which uses SAX method to parse the XML file from QALab and
extract the files that have seen a change in statistics within the time
window.
Calculate the cutoff date, ie the earliest date for the stat to be taken
into account. extra 48h if original cutoff date falls on a Saturday or
Sunday.
This class is able to read the XML output from Cobertura BRANCH information (version 1.7 required)
and integrate the violation results into our "qalab" xml format.
For Cobertura the total statistics is the average of coverage, ie sum of
all percentages divided by the TOTAL number of files (ie we do not report
ZERO % coverage but they should count).
This package contains the Exporters for the consolidated data, the basic
one is an XML Exporter specific to qalab.xml but feel free to create your own.
This is the interface for exporting the statistics from the input
checkstyle, pmd, findbugs or simian; feel free to create your own
to say a database or your specific XML.
Given the different ways that files can be stored on file system, this
method will remove anything part of the path up to the 'srcDir' given, it
should only retain the package name in java.