We’re using Sonar Developer Edition - Version 8.9.5 (build 50698) with a Go project. New Code is set to develop reference branch.
Author and commit date on develop branch is Wed Jun 1 14:50:17 2022 +0200. I found that if analysis isn’t done as a part of CI but is done later all new issues get a date such as June 1, 2022 at 5:10 PM - that’s expected but what’s unexpected is that they are listed as New Issues when a new feature branch created from develop is analyzed even though they weren’t introduced on that branch. For example, when I go to https://<SONAR-ADDRESS>/dashboard?branch=<FEATURE_BRANCH>&id=<PROJECT> it says Compared to develop, Started 12 days ago and June 1, 2022 at 2:50 PM. I’d expect to see only issues that were introduced on the feature branch listed as New Issues, not all issues that were identified after last commit in develop. I got 2 questions:
Is my understanding correct?
What’s the rationale behind this behavior? Are there any plans to change it?