Sonarqube does not detect recently modified code

Sonarqube version: 7.7

For first two scans I was able to get the issues for newly added files and was able to see the modified code in ‘Code’ section. And for later subsequent scans the modified code for files doesn’t get reflected in the ‘Code’ section and I’m also not able to get any new issues or bugs. I’m not sure the sonarqube has scanned the files again.

Any help is much appreciated. Thanks.

Hello @Suhas_Kira,

First of all I would like to stress that I will not be able to deeply investigate your problem since you are on an outdated SonarQube version 7.7 which is neither the 7.9 LTS (Long Term Support) version or the 8.2 LATEST version. I strongly recommend to upgrade to one of those 2 versions

About your problem: What will be reported as new code depends on:

  • How you have defined the new code period (possibly called Leak period in a couple of places as of 7.7),
  • What version your provide to SonarQube when you scan (the sonar.projectVersion property, which may be implicit in some cases)
  • The interval between the different scans you made.

See documentation about new code period at

Hi @OlivierK,

Apologies for responding here late. Was little occupied with some other work :sweat_smile: . I upgraded to 7.9 LTS and it seems like my issue is solved.

Thanks a lot! :smiley:

Perfect, enjoy SonarQube.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.