eCobertura icon indicating copy to clipboard operation
eCobertura copied to clipboard

Visual Display for Branch Coverage

Open jflowers opened this issue 14 years ago • 4 comments

This is a feature request.

I am not sure how to display this...

Right now only line coverage is shown through background colorization of lines covered when viewing source code. We need a way to visualize the branch coverage when viewing the source code.

jflowers avatar Jul 27 '10 13:07 jflowers

I agree. Imho, branch coverage is Cobertura's strength and it really should be visualized... somehow... this may take some time, but I'll see what I can come up with.

jmhofer avatar Jul 27 '10 15:07 jmhofer

I would be happy if a partially covered line just had a different background (e.g yellow or orange)

vuillee avatar Sep 22 '10 16:09 vuillee

Has this issue been resolved? It would be ideal if branch coverage would be rendered the same way that it is rendered in the sonar web GUI (http://jira.codehaus.org/secure/attachment/43696/screenshot-1.jpg), i.e. as a percentage in a column next to the line number on the left.

nkerr avatar Jul 29 '11 18:07 nkerr

+1 it is a real pain now to find which branch I have missed.

kennethxu avatar Nov 12 '11 02:11 kennethxu