Hi,

again for efficiency the XML file only contains covered and missed item counters. Totals and percentage can be easily calculated:

total = covered + missed
coverage = covered / total

See DTD for documentation of the XML format:

http://www.eclemma.org/jacoco/trunk/coverage/report.dtd

Regards,
-marc

On 05.03.15 20:01, [email protected] wrote:
On Thursday, March 5, 2015 at 7:40:10 PM UTC+1, [email protected] wrote:
Hi at all!

I exported a coverage report of EclEmma to an XML file.
When I open the xml file the whole content of the xml file is showed in one 
row. There are no line breaks, this make it very hard to read the XML file.

Is there a possibility to change this behavior?


Thanks and best,
Harald
Hi Marc,

thank you for your fast response!
I understand the issue and will use a XML editor for manual inspection of the 
xml file.

I have another question:

The EclEmma Plugin provide me in Eclipse with a coverage percentage (e.g. 
82.1%). When I inspect the exported xml file I cannot find this percentage 
value.
For example I have a class with 39 instructions. 32 of them are covered and 
therefore 7 missed. I only can find the value 32 and 7, but not the total 
number of instructions (39) nor the calculated percentage in the xml.

Shoud I calculate the coverage percentage on my own or did I make a mistake an 
these values should be included in the xml file?

Thanks and best regards,
Harald


--
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/54F8A96D.2070706%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to