Could you help to understand "Not Covered by Tests"

While reviewing the code base, we noticed some sections highlighted in red, indicating “Not Covered by Tests” and uncovered code.

Could you please explain what this means? Does it indicate that this specific code or snippet is not covered by the Sonar scan?

Hi,

It’s in SonarQube, so it’s covered by the SonarQube scan. What it means is that there is no test coverage - unit test or otherwise - of that code.

 
HTH,
Ann

1 Like