You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am rethinking again how we can do this effectively. As far as I checked, INSTRUCTIONS seems to be more accurate than LINE counter. We have the LINE counter for File, Module and Project level, but not at Line level. For each Line, we have INSTRUCTION and BRANCH but not Line.
So how do we determine if a Line is covered or not? For now, we depend on INSTRUCTION. But this also is not fully correct. We can have a Line that has a BRANCH but no INSTRUCTION.
@thsaravana Jacoco itself reports instruction & branch coverage, so I suggest adding support for branch coverage, rather than line coverage. As you said, if it was accurate, I'd assume Jacoco itself will visualize it anyways!
It seems like jacoco-report using instructions counters in a report Jacoco generated to calculate the entire coverage.
Can't I change this to use line counters?
The text was updated successfully, but these errors were encountered: