1

We've got an strange issue. For doing branch reintegration we first analysed the base branch and then the branch to reintegrate on the same project key but different versions.

After having both results we have a strange result. The dashboard shows a different number of new issues than the issue overview for the given project.

Dashboard

When you click e.g. on the 9 new blocker issues you get this number of new issues:

Issue overview

Is there any reason for the difference of given issues? Is this a fault in sonarqube or is there a reason for this result.

We are using Sonarqube 5.4 on a JAVA project.

Thanks for your help.

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76
The_Gentleman
  • 1,045
  • 2
  • 10
  • 18

1 Answers1

3

The dashboard values are calculated at analysis time. So when your analysis completed, there were 9 blocker issues. The numbers in the Issues page are calculated on the fly, so this means that someone

  • Resolved issues (Won't Fix or False Positive)
  • Downgraded issues
G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76
  • Thanks for the reply. In this project key nobody else is working. When I analyze all issues I get the following result: all issues are "unresolved" except of 790 fixed issues. These were about 9 criticals and ~780 majors. The ruleset war not edited either. Any other ideas? – The_Gentleman Jul 25 '16 at 14:38
  • cleaning the results and doing the analysis again solved the issue for us.
    Made new analysis of the trunk and later of the branch to reintegrate in the trunk. The result seemed valid. Maybe the reason was in removed rules or resolved rules.
    – The_Gentleman Aug 02 '16 at 07:24