Search code examples
sonarqubesonarqube-websonarqube-5.4

Difference between shown issues and value in UI


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.


Solution

  • 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