SonarQube - authors_by_line指标

时间:2014-01-15 13:09:32

标签: sonarqube metrics

在Sonar 3.6.x版中,插件“SCM活动http://docs.codehaus.org/display/SONAR/SCM+Activity+Plugin”提供了一个指标“authors_by_line”。因此有可能获得作者的资源,例如: ?... / API /资源资源= FOO和放大器;指标= authors_by_line。

但是在SonarQube版本4.0和4.1中似乎无法获得这些信息。 是否存在已知错误或该指标是否已弃用?

1 个答案:

答案 0 :(得分:0)

如果要在项目上递归资源,则必须定义参数depth = -1,例如: ... / api / resources?resource = foo& depth = -1& metrics = authors_by_line。 然后输出包含authors_by_line。