发布于 2016-03-26 00:22:11 | 96 次阅读 | 评论: 0 | 来源: 网友投递
SonarQube代码质量管理平台
Sonar是一个用于代码质量管理的开源平台,用于管理源代码的质量,可以从七个维度检测代码质量通过插件形式,可以支持包括java,C#,C/C++,PL/SQL,Cobol,JavaScrip,Groovy等等二十几种编程语言的代码质量管理与检测
SonarQube C# 5.0 发布了,
17项新规则:
Interfaces with colliding, inherited members should explicitly redefine interface members
Type examining methods should be avoided on “System.Type” instances
“[DefaultValue]” should not be used when “[DefaultParameterValue]” is meant
Redundant property names should be omitted in anonymous classes
Declarations and initializations should be as concise as possible
Parameters with “[DefaultParameterValue]” attributes should also be “[Optional]“
Optional parameters should have the same default value in overrides
Result of integer division should not be assigned to floating point variable
改进:
[SONARCS-581] - Rename the "MSBuild SonarQube Runner" category into "Scanner for MSBuild"
[SONARCS-582] - Update issue tracker link in pom.xml since codehaus has been shut down
新特性:
[SONARCS-583] - Support SonarLint for Visual Studio 2.0 Connected Mode
[SONARCS-584] - Add 17 new rules by upgrading to SonarAnalyzer C# version 1.10