Branch Sonar failing upon multiple testing on same branch

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
  • what have you tried so far to achieve this

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

We are facing an issue in Sonar Developer edition in two cases

Case 1: If the code of a branch gets failed for the first time with some issues and post fixing the issues the result in “Overall” code is impacted by the previous result and showing as duplication, code smells and Coverage. The same condition is not happening for “dev” branch.

Case 2: If the code of a branch gets passed for the first time with some code smells and post fixing the issues the result in “Overall” code is failing , showing as duplication, code smells and Coverage.

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)-SonarQube-10.4
  • how is SonarQube deployed: zip, Docker, Helm- zip
  • what are you trying to achieve-
  • what have you tried so far to achieve this

Hi Team,
Please respond SonarQube sonarqube