java.lang.Object
com.parasoft.findings.jenkins.coverage.model.CoverageParser
com.parasoft.findings.jenkins.coverage.model.parser.JacocoParser
All Implemented Interfaces:
Serializable

public class JacocoParser extends CoverageParser
A parser which parses reports made by Jacoco into a Java Object Model.
Author:
Melissa Bauer
See Also:
  • Constructor Details

    • JacocoParser

      public JacocoParser()
  • Method Details

    • parseReport

      protected ModuleNode parseReport(Reader reader, edu.hm.hafner.util.FilteredLog log)
      Parses the JaCoCo 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