SonarLint for Visual Studio 2.7 发布了,Sonar 不只是一个质量数据报告工具,更是代码质量管理平台。支持的语言包括:Java、PHP、C#、C、Cobol、PL/SQL、Flex 等。 该版本 C# 执行引擎得到提高,能更好的表达 value types 和 30个新的可用的 VB.NET 规则。 具体如下: Identical expressions should not be used on both sides of a binary operator – Rule S1764 Two branches in the same conditional structure should not have exactly the same implementation – Rule S1871 Variables should not be self-assigned – Rule S1656 Related “If/ElseIf” statements should not have the same condition – Rule S1862 Functions should not be too complex – Rule S1541 Expressions should not be too complex – Rule S1067 Files should not have too many lines – Rule S104 Lines should not be too long – Rule S103 “With” statements should be used for a series of calls to the same object – Rule S2375 Comments should not be located at the end of lines of code – Rule S139 具体请查看:Sonarsource 官网更新日志 下载地址:SonarLint for Visual Studio 2.7 SonarLint for Visual Studio 2.7 发布下载地址