SonarLint for Visual Studio 2.3 发布了。
新版本嵌入了以下4个新的规则:
Recursion should not be infinite (Bug)
Nullable type comparison should not be redundant (Bug)
Jump statements should not be redundant (Code Smells, clumsly)
Member initializer values should not be redundant (Code Smells)
而下面的6个规则已经得到改进:
Dead stores should be removed
Redundant modifiers should be removed by taking into account +=-like assignments when checking for redundant checked and unchecked statements
Redundant casts should not be used handles casts with as
Runtime type checking should be simplified adds support for as and is
Inheritance list should not be redundant doesn’t report false positives
Method overrides should not change parameter defaults correctly handles explicit interface implementations
软件详情:http://www.sonarsource.com/2016/06/14/sonarlint-for-visual-studio-2-3-released/
下载地址:http://www.sonarqube.org/downloads/
来自:开源中国社区

