发布于 2015-04-04 00:24:53 | 276 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

SonarQube代码质量管理平台

Sonar是一个用于代码质量管理的开源平台,用于管理源代码的质量,可以从七个维度检测代码质量通过插件形式,可以支持包括java,C#,C/C++,PL/SQL,Cobol,JavaScrip,Groovy等等二十几种编程语言的代码质量管理与检测


SonarQube Java 3.1 发布,此版本在有关故障检测中新嵌入了 7 条规则。其主要更新信息如下:

错误修改:

  • [SONARJAVA-922] - "super" symbol should be defined for enum and classes having object as superclass

  • [SONARJAVA-927] - Annotations on enum constant is not available in SyntaxTree

  • [SONARJAVA-930] - S2109 Analysis fail if annotation is declared in the same compilation unit as the expression accessing it via reflection

  • [SONARJAVA-933] - NumberFormatException in S2437, S2183

  • [SONARJAVA-934] - ReflectionOnNonRuntimeAnnotationCheck : ClassCastException

  • [SONARJAVA-953] - FP on S1151: too many lines counted

  • [SONARJAVA-956] - Multiple issues generated by squid:S1217 when nesting try-finally

  • [SONARJAVA-959] - FP on S2109: Do not add issue if symbol of the annotation is unknown

  • [SONARJAVA-960] - FP on S1168 no issue should be raised when method is annotated with @CheckForNull or @Nullable

  • [SONARJAVA-961] - Deprecate rule StringEqualityComparisonCheck / Strings should be compared using "equals()"

  • [SONARJAVA-963] - Rule MethodCyclomaticComplexity is not feeding EffortToFix - Linear Functions have no effect

  • [SONARJAVA-971] - BytecodeCompleter does not set supertype when class not found

  • [SONARJAVA-986] - S1168 FP and fail of analysis when lambda block returns null

性能改善:

  • [SONARJAVA-167] - Provide an API to access information about Symbols and Types from checks

  • [SONARJAVA-903] - S1120 Indentation Check: support tabWidth parameter

  • [SONARJAVA-907] - S117 Bad local and method variable name: For loop counter should be ignored

  • [SONARJAVA-920] - FP on S1312 : this rule should not apply to method parameters.

  • [SONARJAVA-921] - S2068 should also log an issue when calling a method with two literal parameters and when the value of the first literal is "password"

  • [SONARJAVA-924] - FP on S1181: Exclude catch of throwable that uses Guava Closer.

  • [SONARJAVA-925] - FP S1452 : generic wildcards in return type should not raise an issue for private methods

  • [SONARJAVA-929] - Extend resolution of annotations to fields and methods

  • [SONARJAVA-931] - Add variable symbols for method parameters in semantic

  • [SONARJAVA-515] - Rule: "Object" should not be extended

  • [SONARJAVA-923] - Rule: S2112 "URL.hashCode" and "URL.equals" should be avoided

  • [SONARJAVA-928] - Rule: S2259 Null pointers should not be dereferenced

  • [SONARJAVA-932] - Rule S2696: Instance methods should not write to "static" fields

  • [SONARJAVA-947] - Rule S2674: The value returned from a stream read should be checked

  • [SONARJAVA-948] - Rule S2718: "DateUtils.truncate" from Apache Commons Lang library should not be used

  • [SONARJAVA-957] - Rule S2695: "PreparedStatement" and "ResultSet" methods should be called with valid indices

详细信息请查看发行页面

下载文档请前往 product page

Sonar是一个用于代码质量管理的开源平台,用于管理源代码的质量,可以从七个维度检测代码质量通过插件形式,可以支持包括java,C#,C/C++,PL/SQL,Cobol,JavaScrip,Groovy等等二十几种编程语言的代码质量管理与检测



历史版本 :
SonarQube GitHub 1.4.2 发布
SonarPython 1.8 发布,Sonar 的 Python 检查扩展
SonarQube VSTS/TFS 扩展 2.1 发布
SonarQube Scanner 2.9 发布,代码质量管理平台
SonarQube 5.6.6 发布,代码质量管理平台
SonarQube PL/I 1.5 发布
SonarPHP 2.9.2 发布,Sonar 的 PHP 检查扩展
SonarPython 1.7 发布,Sonar 的 Python 检查扩展
SonarQube Java 4.2.1 发布,Java 代码质量分析
SonarQube Scanner for Gradle 2.2 发布
SonarQube Developer Cockpit 1.14 发布
SonarQube JavaScript 2.17 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务