SonarQube detects Unchanged Classes as New Code


Here’s the important part of that screenshot:


Of the 359 new lines, 0 were seen as coverable. Perhaps they were comment lines, whitespace, or something else, but they weren’t seen by analysis as needing to be covered. But this is getting a bit far afield from the original topic, so if you’d like to pursue this, please create a new thread.

Regarding the initial question of old code being detected as new, when you look at that old-new code in SonarQube and click in the left margin to get the blame data, what do you see?