简体   繁体   English

Sonar的Groovy / Grails插件

[英]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. Sonar是一个应用程序,用于将来自多个静态和测试分析工具的输出集成到软件质量的全面概述中。

Unfortunately, most of those analysis tools (PDM, FindBugs, etc.) do not support Groovy and, by extension, Grails. 不幸的是,大多数这些分析工具(PDM,FindBugs等)都不支持Groovy,而且还支持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. 我们找到了名为CodeNarc和GMetrics的工具,它们执行了一些分析,但没有进行测试覆盖,我们正在开发一个Sonar插件来导入CodeNarc输出。 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? 有谁知道一套更好的复杂性/基于规则的静态分析工具可以处理Groovy,以及Grails测试覆盖率指标? Of course, one with a Sonar plugin for reading in the output would be best. 当然,有一个Sonar插件可以在输出中读取它是最好的。

Just use Sonar Groovy Plugin ! 只需使用Sonar Groovy插件

It leverages GMetrics, Codenarc and Cobertura in Sonar! 它在声纳中利用了GMetrics,Codenarc和Cobertura!

Here are the tools I'm aware of (and just aware): 以下是我所知道的工具(并且只是意识到):

But nothing ready to be used with Sonar AFAIK. 但没有准备好与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 :) 我正在观看SONARPLUGINS-194这个但是没有太多的活动虽然最近报道了一些工作,也许是你:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM