Flagging lines in untouched/touched code that lost test coverage in PR

Hi,

I use sonarcloud a lot in projects to check the test coverage of my PRs.
Now I came to a point where some lines lost their code coverage after a PR because of a change in the flow.
Is there a way to specific highlight the lines that had code coverage before but will lose code coverage after a PR gets merged?

Thanks a lot for any suggestions!

Karen

Hi @khilgert and welcome to the community !

I don’t think it’s possible. My very first idea for that would be to have a “duplicate” PR or branch analysis for the same branch, and compare them after the merge. Would that make sense for you ?

HTH,