Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Groovy/Grails plugin for Sonar

Sonar is an application for integrating output from several static and test analysis tools into a comprehensive overview of the software's quality.

Unfortunately, most of those analysis tools (PDM, FindBugs, etc.) do not support Groovy and, by extension, Grails.

We've found tools called CodeNarc and GMetrics which perform some of the analysis, but not test coverage, and we're working on a Sonar plugin to import the CodeNarc output. As I said, though, this is incomplete.

Does anyone know of a better set of complexity/rules-based static analysis tools that can handle Groovy, as well as a Grails test coverage metric? Of course, one with a Sonar plugin for reading in the output would be best.

like image 575
billjamesdev Avatar asked Feb 23 '10 18:02

billjamesdev


1 Answers

Just use Sonar Groovy Plugin!

It leverages GMetrics, Codenarc and Cobertura in Sonar!

like image 163
Wanderson Santos Avatar answered Oct 21 '22 01:10

Wanderson Santos