SonarSource 今天发布了 C# plugin 4.5 版本和 SonarQube Scanner for MSBuild 2.0.
这两个版本增加了对第三方 Roslyn 分析插件的支持,通过使用 special SDK, 你可以添加 Roslyn 分析器到 SonarQube 服务器。
此外,C# 插件还新增了下列 5 个新规则:
- Overriding members should do more than simply call the same member in the base class
- “string.Format()” should not be called without placeholders
- “string.ToCharArray()” should not be called redundantly
- “ToString()” calls should not be redundant
- Unused private types or members should be removed
请阅读 C# plugin release notes 和 SonarQube Scanner for MSBuild release notes 获取更详细信息。
Sonar 的详细介绍:请点这里
Sonar 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-02/128512.htm
