Hi,
we used the following fragment of ANT-script to generate JACOCO reports.
<target name="report" depends="unittest">
<!-- Step 3: Create coverage report -->
<jacoco:report>
<!-- This task needs the collected execution data and ... -->
<executiondata>
<file file="${result.exec.file}" />
</executiondata>
<!-- the class files and optional source files ... -->
<structure name="JaCoCo Ant Example">
<classfiles>
<fileset dir="${result.classes.dir}" />
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset dir="${src.dir}" />
</sourcefiles>
</structure>
<!-- to produce reports in different formats. -->
<html destdir="${result.report.dir}" />
<csv destfile="${result.report.dir}/report.csv" />
<xml destfile="${result.report.dir}/report.xml" />
</jacoco:report>
</target>
For each Class a HTML-file is generated with the following information:
Element Missed Instructions Cov. Missed Branches Cov. Missed Cxty
Missed Lines Missed Methods
For all classes a report is generated with the summary info of each class.
Is it possible to generate a CSV-file for each class with the information
written in the HTML-files?
Or is it possible to generate the summary-info-report for each class with
detailed infos about the methods in the classes and not only the summarized
information.
Peter
--
You received this message because you are subscribed to the Google Groups
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/2e21cbd9-3e39-4080-b299-02f7b8d8af34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.