SonarQube Dashboard - Can I show just the leaks - sonarqube

I'm using the latest version of SonarQube. Is it possible to display the front "Projects" dashboard with just covering the leaks period?

This is not possible in SonarQube 6.3, but it will be implemented in SonarQube 6.4 for sure.
You can watch the ticket SONAR-8912 that we'll soon start working on.

Related

Sonarqube upgrade from 5.6.3 to 6.7.2 but Dashboards are missing

we upgraded Sonarqube to 6.7.2 version and this new version does not have the Dashboards and also configure widgets option with in the project custom dashboard is not available, is there a way to achieve the missing dashborads and custom widgets?
There's a reason the Upgrade docs advise you to read the release notes for each intervening version. Dashboards were dropped in SonarQube 6.2.
You'll find that in 6.7.* you have the ability to visualize your measure values in each project's Measures page, and to see measure history graphs on the project Activity page. There are also some cross-project visualizations in the Projects page. If you nonetheless still need additional features, then you have the option to write a plugin to add a page to the interface.

Sonarqube activity page charts missing

I've saw in https://sonarcloud.io/project/activity?id=ch.ge.ve%3Aadmin-offline%3Adevelopment that the activity page view shows some charts on how the project evolved on time.
I'm using Sonarqube docker 6.4 version and there is no charts on that page and I don't know if it's a version problem or what else.
I'm analyzing php projects. Maybe the problem is here?
Does any one knows what's happening?
An screenshot of the example in https://sonarcloud.io/project/activity?id=ch.ge.ve%3Aadmin-offline%3Adevelopment
Thank you.
Those charts are introduced in 6.5. SonarCloud is running the current 6.5 RC, which is why you see graphs there. Since you're running 6.4, it is normal and expected that you don't have graphs.

SonarQube upgrade to 6.4: cannot display tests results on the dahsboard

I upgraded my SonarQube from 5.4 to 5.6 LTS then to 6.3.1 then 6.4
On the version 6.4, when I click on the dashboard, I only see the projects' names but no results are displayed.
In addition I have a rotating frame of the project as if it loads.
Plus, When I click on the project, I have 0 bugs, 0 vulnerabilities .... which is wrong because when I click on issues, I can see that the project do have issues and I can display them.
It's the case with the projects analyzed with the previous versions only. I tried analyzing a project with 6.4 and the results related to Reliability, Security, Maintainability... are there.
Is there a way to fix this, ie to display on the dashboard of SonarQube 6.4 the results of projects analyzed by older versions?
Thanks in advance.
The fix is planned for SonarQube 6.5 (see the ticket).
This sounds like a corrupted ElasticSearch index. Try the following:
stop the server
delete _$SONARQUBE_HOME/data/es_
restart the server*
*The time for you server to come back up will vary based on how large the instance is
I see, thank you for your help. Just to let you know, even when I click on the project , I cannot see the results, they are only available when I click on Issues

How to add history widgets in SonarQube 6.2?

I was used to manage a project's history on sonarqube 5.2 by using a dashboard like this under "Dashboards -> Timeline". I can't find a way to replicate this on SonarQube 6.2. What is the correct way of adding history widgets under sonar 6.2 ?
Dashboards and widgets have been dropped in 6.2. You simply won't be able to do that.
The widgets build-in SonarQube 6.2+ show a tend chart in the "background" behind the measures (see "Leak Period: since previous version"). This is not an equivalent replacement of timeline but at least something.
See screenshot here: https://www.sonarqube.org/index/clean-code.png

SonarQube Cycles broken?

My project is analysed by SonarQube for every VCS check-in and I have observed some strange behavior:
The dependency cycle-count changes to extremes every now and then.
When viewing the details (e.g. clicking the link) the old (smaller number) value is displayed. What could be the cause of this?
This feature has been dropped from SonarQube platform in version 5.2 thus even if there might be some flaws on this on sonar java analyzer side there is not point to make an effort to fix them as this will be dropped when it will move to LTS version 5.x
See this ticket for detailed explanation : https://jira.sonarsource.com/browse/SONAR-6553

Resources