Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我为 Visual Studio 代码分析定义了一组规则,我还在 Sonar ( http://www.sonarqube.org/ ) 中配置了它们。我得到不同的结果。
为什么?
代码分析使用 FxCop ? 在声纳中,我可以配置 FxCop。
好吧,原因很简单:这些是不同的工具,具有不同的特性和功能......
在 SonarQube 中,您可以在分析项目时配置要应用于项目的质量配置文件(= 规则集)。此规则集可能与 Visual Studio Code Analysis 中可用的规则集非常不同。