Vra

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.

Was dit nuttig?

Oplossing

Here are the tools I'm aware of (and just aware):

But nothing ready to be used with Sonar AFAIK. I'm watching SONARPLUGINS-194 about this but there isn't much activity although some work has been reported very recently, maybe be you :)

Ander wenke

Just use Sonar Groovy Plugin!

It leverages GMetrics, Codenarc and Cobertura in Sonar!

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top