On Tuesday, June 6, 2017 at 10:37:24 PM UTC+2, [email protected] 
wrote:
>
> The Jacoco report in html and csv is on instruction level which make it 
> real hard to tell the code coverage for each file(class), I just want if 
> there is any flag or switch I can use to make it work on class level report


Instructions is just one of the columns of HTML and CSV reports.

HTML report shows everything from packages ( 
http://www.jacoco.org/jacoco/trunk/coverage/org.jacoco.core/index.html ) 
down to list of classes ( 
http://www.jacoco.org/jacoco/trunk/coverage/org.jacoco.core/org.jacoco.core.runtime/index.html
 ) 
that can be switched by a link in right up corner to a list of files ( 
http://www.jacoco.org/jacoco/trunk/coverage/org.jacoco.core/org.jacoco.core.runtime/index.source.html
 ) 
and source code ( 
http://www.jacoco.org/jacoco/trunk/coverage/org.jacoco.core/org.jacoco.core.runtime/AbstractRuntime.java.html
 ).

CSV report actually contains list of classes 
- http://www.jacoco.org/jacoco/trunk/coverage/jacoco.csv

Reports are not configurable, but you can extract required information from 
XML report or retransform it into the report you want, or use JaCoCo APIs 
to generate report you want.

-- 
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/7dc141e8-703b-46ee-a3e1-7c553bd77122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to