Class JacocoReportReader


  • public class JacocoReportReader
    extends Object
    • Constructor Detail

      • JacocoReportReader

        public JacocoReportReader​(@Nullable
                                  File jacocoExecutionData)
    • Method Detail

      • readJacocoReport

        public JacocoReportReader readJacocoReport​(org.jacoco.core.data.IExecutionDataVisitor executionDataVisitor,
                                                   org.jacoco.core.data.ISessionInfoVisitor sessionInfoStore)
        Read JaCoCo report determining the format to be used.
        Parameters:
        executionDataVisitor - visitor to store execution data.
        sessionInfoStore - visitor to store info session.
        Returns:
        true if binary format is the latest one.
        Throws:
        IOException - in case of error or binary format not supported.
      • analyzeFiles

        public org.jacoco.core.analysis.CoverageBuilder analyzeFiles​(org.jacoco.core.data.ExecutionDataStore executionDataStore,
                                                                     Collection<File> classFiles)
        Caller must guarantee that classFiles are actually class file.