jacoco-report icon indicating copy to clipboard operation
jacoco-report copied to clipboard

add support for BRANCH coverage

Open gokhan-oner opened this issue 1 year ago • 4 comments

It'd be usefull to add support for branch coverage as well.

PS: @thsaravana If idea is OK, I'm willing to do the necessary changes.

gokhan-oner avatar Aug 24 '23 18:08 gokhan-oner

@thsaravana @instrap I'm creating a PR for this, but tests are using some predefined values in the jacoco-playground repo it seems. How should I progress? Do you have a guide?

gokhan-oner avatar Sep 13 '23 23:09 gokhan-oner

Thanks. Could you run the approach you are taking before working on it? We have plans to make this configurable, so that the user can choose the type of coverage (this could be multiple types as well).

As for the unit tests, the unit tests reflects the jacoco-playground, since it's easy to test and also update the report.xml mock. Feel free to create new report.xml for 'branches' and you can write your test against that.

thsaravana avatar Oct 18 '23 08:10 thsaravana

@gokhan-oner @thsaravana any update here?

alpeshvas avatar May 31 '24 05:05 alpeshvas

I am adding this to 1.7.3 for now. We will pick this up after #60

instrap avatar Sep 08 '24 21:09 instrap