SonarQube - see exact uncovered conditions

Hi all, as developer I would like to see which exact conditions I did not covered. E.g in typescript I use ?: operator and whole line is orange and I don’t which part I did not covered. Any hints regarding that?

Hi Krzysztof,

Welcome to the community and thanks for bringing this up!

Indeed, currently SonarQube only highlights the line and not also the individual character where the branching is created, like in your example with optional chaining.

In what case is this bothering you? In a Pull Request or something else?

Also have you seen other cases of this issue, for example with different operators?