techjourneyman
techjourneyman

Reputation: 1813

Extract total coverage from JaCoCo report

How can we extract the total coverage from JaCoCo? I just need that number to use it for external reporting. I see the coverage total in the Jacoco report (HTML), but do not see it in the jacoco.xml.

This is what I tried:

coverage info shown in HTML report

It is not reliable to extract this information from the HTML and would be better if we do it from the data source.

Any suggestion will be greatly helpful.

Upvotes: 0

Views: 19

Answers (0)

Related Questions