New bugs in old code

When scanning with Sonarqube, new bugs are displaying for old code.

After the first initial scan, we run a build and new bugs were found, but the code is years old. We run a build again and for some reason passes with 0 new bugs. This is starting to happen more often. We’re in the process of noting down these new bugs and seeing if they suddenly disappear in the next build, but still exist in the code.

The profiles haven’t been edited, so no idea why new bugs are suddenly popping up for code that has been there for years.

Just wondering if anyone else has experienced this?

1 Like

Did you upgrade SonarScanner analyzer or any plugins?

1 Like