Pmd violations with sonar

2019-09-07 03:45发布

I just need a clarification about PMD with Sonar.Can we reuse Pmd reportwhich is already produced by ant..Else sonar will dynamically produce its own violation using PMD. Please help me out...For past two days iam stucked up with this. Thanks!!!

标签: sonarqube pmd
1条回答
可以哭但决不认输i
2楼-- · 2019-09-07 04:44

No it's not possible to import PMD nor Checkstyle reports. This is not the philosophy of Sonar.

Nothing guarantees that PMD has been executed with the configuration (Quality Profile) declared in sonar. It would lead to inconsistent results. Moreover why executing PMD by yourself while sonar does it for you ?

查看更多
登录 后发表回答