Class HtmlReportWriter
java.lang.Object
com.arc_e_tect.gradle.jacoco.report.HtmlReportWriter
Writes an HTML report styled after Gradle's built-in test report.
The report includes:
- A summary bar (total exclusions, grouped by element type)
- A table grouped by package → class → member
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(List<ExcludedElement> elements, String annotationName, File outputDir) Writes an HTML report toindex.htmlinsideoutputDir.
-
Constructor Details
-
HtmlReportWriter
public HtmlReportWriter()Creates a newHtmlReportWriter.
-
-
Method Details
-
write
public void write(List<ExcludedElement> elements, String annotationName, File outputDir) throws IOException Writes an HTML report toindex.htmlinsideoutputDir.- Parameters:
elements- the excluded elements to reportannotationName- the annotation name displayed in the report headeroutputDir- target directory; created if it does not exist- Throws:
IOException- if the output file cannot be written
-