设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

SonarQube Java 4.1发布

2016-8-6 20:21| 发布者: joejoe0332| 查看: 883| 评论: 0|原作者: oschina|来自: oschina

摘要: SonarQube Java4.1发布了。Sonar (SonarQube)是一个开源平台,用于管理源代码的质量。Sonar 不只是一个质量数据报告工具,更是代码质量管理平台。支持的语言包括:Java、PHP、C#、C、Cobol、PL/SQL、Flex 等。Sona ...

SonarQube Java 4.1发布了。Sonar (SonarQube)是一个开源平台,用于管理源代码的质量。Sonar 不只是一个质量数据报告工具,更是代码质量管理平台。支持的语言包括:Java、PHP、C#、C、Cobol、PL/SQL、Flex 等。SonarQube Java 是Sonar的一个插件,用来分析 Java 代码。

该版本提供了七个新的规则:

更新日志:

Bug

  • [SONARJAVA-1775] - Thrown exceptions should be correctly computed on method types

  • [SONARJAVA-1780] - Status of Object Constraint is lost on null check

  • [SONARJAVA-1797] - AVLTree: fix handling of collisions of hash codes, get rid of integer overflow

False-Positive

改进:

  • [SONARJAVA-1422] - Improving try-catch flow of instruction

  • [SONARJAVA-1591] - Emulating try-catch with a branch to the exception path at first is incorrect

  • [SONARJAVA-1770] - S1172 UnusedParameters FN : if method is annotated with @SuppressWarnings with known suppressions

  • [SONARJAVA-1777] - Rule UndocumentedAPI: update default parameter value

  • [SONARJAVA-1779] - Put "case" expression into CFG

  • [SONARJAVA-1782] - S2068 should detect string constant used in java.net.PasswordAuthentication API

新特性:

  • [SONARJAVA-372] - Rule S1450: Private fields used only as local variables in methods should become local variables

  • [SONARJAVA-520] - Rule S1942: Simple class names should be used

  • [SONARJAVA-1750] - Rule S3658: Unit test should throw exception instead of failing in a catch block

  • [SONARJAVA-1758] - Rule S3437: Value-based classes should not be serialized

  • [SONARJAVA-1759] - Rule S2789: "null" should not be used with "Optional"

  • [SONARJAVA-1760] - Add firstToken() and lastToken() methods to the Tree API

  • [SONARJAVA-1762] - Rule S3518: Zero should not be a possible denominator

  • [SONARJAVA-1767] - Rule S3655: Optional value should only be accessed after calling isPresent()

Task

详情:http://www.sonarsource.com/2016/08/04/sonarqube-java-4-1-released/


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部