Interface CoverageParser
- All Known Implementing Classes:
AbstractXmlEventParser
,CloverParser
,CoberturaParser
,JaCoCoParser
,SagaParser
public interface CoverageParser
Handles parsing of a coverage report. The implemenation can be statefull, and the same instance
should be used only one time to parse a coverage report. Completed source files are passed to
the
SourceCallback
handler. To maximize performance, the parser should use streaming.-
Method Summary
Modifier and TypeMethodDescriptionGets the coverage file.void
parse
(SourceCallback callback) Parses a coverage report.
-
Method Details
-
parse
Parses a coverage report. Parsed source files are passed to the callback handler. This method should be called only once per instance.- Parameters:
callback
- the source callback handler- Throws:
ProcessingException
- if processing of the coverage report failsIOException
- if an I/O error occurs
-
getCoverageFile
File getCoverageFile()Gets the coverage file.- Returns:
- the coverage report file under processing
-