Conflicting Values


If you look at the image above you will notice that sonarcloud is reporting that my main branch has:

  • 2.5k lines total
    and the new code:
  • 4.4k new lines
  • 1.4k new lines to cover

the problem is, the push that triggered that analysis was of a SINGLE LINE of code, which was covered by tests!!!

Can anyone tell me what is going on?

Hi,

Can you drill into one of these “new” metrics to see which lines are marked new? In the past we’ve seen this kind of change when an automatic process changed whitespace during check-in.

Alternately, analysis had trouble identifying which code was new because the SCM data wasn’t available. That would show up in your analysis log.

 
HTH,
Ann