Sonar report issues on old files

Must-share information (formatted with Markdown):

  • Community Edition Version 9.3 (build 51899)
  • SonarQube deployed: zip
  • We want skip existing issues w.r.t reference branch, get sonar issues on changed code only. so far it is working fine as expected.
    Now we are getting issues on complete file (which was scanned 10 months ago in reference branch)

**is there any limitation on reference branch option in new code? or on old files? **
**How long can sonar track scanned files history? **
**How can we skip existing technical debt permanently? **

Thanks in Advance.


It sounds like there’s something odd going on with the detection of new code.

We’ve made updates to that in the 9-series. You should adopt a supported version at your earliest convenience; 9.3 is past EOL.


Could you please suggest in which latest version, these issues got fixed.

Thank you


I don’t remember. You should just upgrade to a supported version to get all the fixes.