2
votes

Is there any way to aggregate metrics over all projects in Sonar ? For instance, is it possible to get the total number of SLOC ?

It seems that it should be a basic feature of Sonar.

I know about the Views plugin, but I'm looking for something free. And I don't need all the features of this plugin, only aggregates over all projects, not custom views.

1

1 Answers

1
votes

Since I haven't been able to find anything, I have developed a very simple Sonar plugin that does the trick using the API provided by the Sonar server. Turned out to be pretty simple.

The plugin is available here, but it has been only tested on one Sonar instance.

Global Metrics Widget