Sonar Analysis metrics (Code quality, Bugs, debt, code smells) differ for same code on different branches though exclusions and configuration is same for both of them and there are not code changes. Please suggest.
You say the configuration is the same on both projects, but I find the differential between coverage numbers interesting. With presumably the same tests in place, you come up with two different overall coverage percentages. To me that’s a red flag that one project includes more code in the analysis than the other.
It would be interesting to include -Dsonar.scanner.dumpToFile=[path to file] on both analysis command lines and then compare the outputs.