Problem with TreeMap views in SonarQube 6.0.

166 views
Skip to first unread message

José Antonio Barba Milanés

unread,
Mar 6, 2017, 5:51:16 AM3/6/17
to SonarQube
Hi there,

I have a fresh SonarQube 6.0 installation and I found a problem with the TreeMap views. I think it is related to bug SONAR-6708.

Initial Treemap views work fine, displaying the right colors based on whatever metric I pick, but when I drilldown the colors are not correctly displayed. I'm sending some screenshots attached.

Screen#1.png shows the initial page, where everything works fine. Projects with A rate are dark green, B rate projects are light green, and C ones are yellow.

Screen#2.png and Screen#3.png is the drilldown of the big MME_DAC_USV_V2 project. As it can be seen, colors are wrong. Dark green for B rating packages and light green for A rating packages.

Screen#3.png is another level down. Rating B is shown as dark green.

It happens in every project, with every metric I use, and independently of the language. At least the category metrics are displayed with the same color in each screen, but it seems that the colors are randomly picked. 

Thanks in advance!
Jose 


Screen#1.png
Screen#2.png
Screen#3.png
Screen#4.png

Marco Quaranta

unread,
Mar 7, 2017, 9:01:06 AM3/7/17
to SonarQube
Hi everybody, 
Same problem here with SonarQube 5.6.4.

Is it possible you have changed default sqale (mainteinability rating) threshold?

I'm asking because we did and I'm afraid it'd be related.

Marco

stas.v...@sonarsource.com

unread,
Mar 8, 2017, 5:31:42 AM3/8/17
to SonarQube
Hello,

The widget was removed in SonarQube 6.2. And the current "Measures" page (example) doesn't suffer from the problem.

Regards,
Reply all
Reply to author
Forward
0 new messages