Class CoberturaParser

  • All Implemented Interfaces:
    Serializable

    public class CoberturaParser
    extends CoverageParser
    Parses Cobertura report formats into a hierarchical Java Object Model.
    Author:
    Melissa Bauer, Ullrich Hafner
    See Also:
    Serialized Form
    • Constructor Detail

      • CoberturaParser

        public CoberturaParser()
    • Method Detail

      • parseReport

        protected ModuleNode parseReport​(Reader reader,
                                         edu.hm.hafner.util.FilteredLog log)
        Parses the Cobertura report. The report is expected to be in XML format.
        Specified by:
        parseReport in class CoverageParser
        Parameters:
        reader - the reader to read the report from
        log - the logger to write messages to
        Returns:
        the root of the created tree