Sonar-Cobertura custom filters

自作多情 提交于 2019-12-12 01:04:21

问题


I am using sonar in my project through sonar-maven plugin . I am using Cobertura plugin for code coverage analysis. I want to exclude some modules/classes from code coverage report.

How can I do it? Thanks in advance.


回答1:


You can use the sonar.coverage.exclusions to not report coverage of some files of your project.

You can find this property in the project settings, in the "Exclusions > Code Coverage" category.



来源:https://stackoverflow.com/questions/16014201/sonar-cobertura-custom-filters

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