How do you compare analysis of two projects in SonarQube 7? - sonarqube

Currently using SonarQube 7.2 LGPL v3 Community.
Branching has not been provided in community edition,it is a paid plugin for developer addition so that is not an option.
I simply want to see LOC of two projects as a chart.
Help would be greatly appreciated.

There is no such feature out of the box in SonarQube. You can use measures web API (example here) to retrieve the metrics you want and create the chart yourself for example in a spreadsheet.

Related

How to generate report for sonarQube6.7

Is there a way to generate report using SonarQube6.7.
I tried using sonar-pdfreport-plugin-1.4 plugin, sonar server started - but while running sonar-scanner throws,
"java.lang.NoSuchMethodError:`org.sonar.api.resources.Project.getConfiguration()Lorg/apache/commons/configuration/Configuration;"`
error.
How can i get a report????
You can download report plugin here
and add it to sonarqube_folde/extensions/plugins/
If you have older version you can Click on "More versions" under By SonarSource – SonarSource – Issue Tracker – Supported by SonarSource
Note: You have to buy Enterprise license
As #George312 alludes, the Enterprise Edition gives you the ability to produce (and have automatically emailed) PDFs of your Portfolio homepages. I suspect that's not what you're after.
There is no functionality compatible with modern SonarQube versions which will generate PDF reports of project homepages or any other (non-Portfolio) portion of the interface or data.
However, web services are available to extract data from your instance. You'll find a link to the on-board Web API documentation in the footer of each page. Once you've extracted the data you should presumably be able to construct your reports.

SonarQube Plugin Development in Issue View

Dear SonarQube Community,
I have a general question regarding is it possible to write a plugin that will extend the Issue View? See screenshot and its red marks.
I looked at the API for Plugin Development and didn´t find a part where I can do that.
I want to develop for SonarQube 6.x
Thank you!
Felix
There is no ability to extend this part of the UI.

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

How to look like Sonar Online Dashboard?

I see a big difference in the look & feel between the online dashboard (https://sonarqube.com/projects or https://sonarqube.com/governance?id=MASTER_PROJECT) and the one that we see by default on our local installation of sonar (v5.6.3).
I'm wondering about whether the online look & feel can in someway be easily applied to a local installation. It's just a matter of css/js or behind we have also a completely different HTML structure?
Any information about this will be much appreciated.
I think I've found the answer to my question. The nice-looking online demo is based on an Enterprise Grade deployment of sonar with the governance plugin.
https://www.sonarsource.com/why-us/products/plugins/governance.html
https://www.sonarsource.com/solutions/deployments/enterprise-grade/
Can't you update your install to the latest version? There have been UI changes in both version 6.0 and 6.1
http://www.sonarqube.org/sonarqube-6-0-in-screenshots/
http://www.sonarqube.org/sonarqube-6-1-in-screenshots/

Jira: Tracking work for a feature which is done in different versions of components

We build a product which consists of few components. As we plan to release a new version of the project with some new features we break down work into sub-tasks in relevant components and plan for versions of components. Some sub-tasks (such as integration testing) remain in product's version though.
It is somewhat difficult to track progress on the feature as Jira appears to lack means of tracking such projects.
I created list of products versions and list of versions for each of the components.
I wish I had burn down chart of remaining work for sprint/release scope done in multiple Jira versions. Or some other tools to visualize feature development progress product wide.
I was looking for some way to export worklogs to build chart in Excel but had no luck so far. I could use some advice on using Jira for such projects. Thank you
this is a jira tool to visualize any collection of features you want : forecast.geertjan.it/ It allows you to monitor the progress of features per sprint/week. The list is based on your own filter.

Resources