Class CoberturaParser
java.lang.Object
com.parasoft.findings.jenkins.coverage.model.CoverageParser
com.parasoft.findings.jenkins.coverage.model.parser.CoberturaParser
- All Implemented Interfaces:
Serializable
Parses Cobertura report formats into a hierarchical Java Object Model.
- Author:
- Melissa Bauer, Ullrich Hafner
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ModuleNode
parseReport
(Reader reader, edu.hm.hafner.util.FilteredLog log) Parses the Cobertura report.Methods inherited from class com.parasoft.findings.jenkins.coverage.model.CoverageParser
createEofException, getIntegerValueOf, getOptionalValueOf, getTreeStringBuilder, getValueOf, parse, parseInteger, readResolve
-
Constructor Details
-
CoberturaParser
public CoberturaParser()
-
-
Method Details
-
parseReport
Parses the Cobertura report. The report is expected to be in XML format.- Specified by:
parseReport
in classCoverageParser
- Parameters:
reader
- the reader to read the report fromlog
- the logger to write messages to- Returns:
- the root of the created tree
-