【问题标题】:Sonarqube exclude code coverage for tests but include in code smell and duplicate detectionSonarqube 排除测试的代码覆盖率,但包含在代码异味和重复检测中
【发布时间】:2018-07-15 13:27:51
【问题描述】:

如果我指定<SonarQubeTestProject>true</SonarQubeTestProject>,它不仅会将项目排除在代码覆盖范围之外,还会排除代码异味和重复检测。

有没有办法从代码覆盖范围中排除但扫描所有其他方面?

【问题讨论】:

    标签: c# sonarqube


    【解决方案1】:

    看看Exclusions,它可以让你排除文件

    • 完全考虑
    • 问题
    • 覆盖范围
    • 重复

    【讨论】:

    猜你喜欢
    • 2016-10-03
    • 2017-03-05
    • 2016-01-31
    • 1970-01-01
    • 2023-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-29
    相关资源
    最近更新 更多