Pmd violations with sonar

北城余情 提交于 2019-12-11 16:49:17

问题


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!!!


回答1:


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 ?



来源:https://stackoverflow.com/questions/15199538/pmd-violations-with-sonar

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!