pycobertura icon indicating copy to clipboard operation
pycobertura copied to clipboard

Partially covered lines should appear in yellow with a tooltip X of Y branches missed

Open nbauma109 opened this issue 1 year ago • 3 comments

Currently partially covered lines appear in green. Green is reserved for full coverage. Like in jacoco report, it should show partially covered lines in yellow and a tooltip indicating "X of Y branches missed".

nbauma109 avatar Mar 30 '24 19:03 nbauma109

Thanks for your report.

I have a pull request I'm working on for partial coverage. It's currently not supported but I lost steam and I haven't made progress on it lately. But if there's interest shown I can consider working on it again.

aconrad avatar Mar 30 '24 21:03 aconrad

That's the PR: https://github.com/aconrad/pycobertura/pull/168

If I recall the code supports partial coverage but I still need to update the renderers to make them aware of partial coverage. I think that's the main piece left.

aconrad avatar Mar 30 '24 21:03 aconrad

I would also find this feature useful, FWIW.

zackw avatar Aug 16 '24 17:08 zackw