手机版
你好,游客 登录 注册
背景:
阅读新闻

SonarQube RPG 1.4 发布,SonarQube 插件

[日期:2015-05-12] 来源:oschina.net  作者:Linux [字体:大 中 小]

SonarQube RPG 1.4 发布,此版本提供了8个新的规则,其中大部分与错误侦测有关。更新信息如下:

Bug 修复:

  • Parse error in free-form calculation starting with "add"
  • Parse error on list of values
  • Parse error on calculation spec with indicators on multiple lines
  • Parse error when a separator character is provided at the end of a date format
  • Parse error on access to keyed array data structure
  • Parse error in expression (x *y)/z
  • Parse error on SQL comment
  • Complexity should be incremented on lowercase "and"/"or" logical operators

性能改善:

  • ALL'0' and *ALL'1' should not raise any issue on rule "Standard figurative constants *ON,
  • *OFF and *BLANK should be used in place of '1', '0' and ' '"
  • Use a linear with offset remediation cost for "Expressions should not be too complex"
  • Use a linear with offset remediation cost for "Subroutines should not be too complex"
  • Use a linear with offset remediation cost for "String literals should not be duplicated"
  • S1601 "Unused subroutines should be removed" should not raise issues on *PSSR

新特性:

  • Rule: Related "IF/ELSEIF" statements and "WHEN" clauses in a "SELECT" should not have the same condition
  • Rule: Two branches in the same conditional structure should not have exactly the same implementation
  • Rule: Variables should not be self-assigned
  • Rule: Identical expressions should not be used on both sides of a binary operator
  • Rule: "QUALIFIED" data structures should be used
  • Rule: Multiple occurrence data structures should not be used
  • Rule: Compile-time arrays should not be used
  • Rule: Optional operation codes should be omitted

详细信息请查看发行页面。

此版本现已提供下载。

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

主要特点:

  • 代码覆盖:通过单元测试,将会显示哪行代码被选中
  • 改善编码规则
  • 搜寻编码规则:按照名字,插件,激活级别和类别进行查询
  • 项目搜寻:按照项目的名字进行查询
  • 对比数据:比较同一张表中的任何测量的趋势

Sonar 的详细介绍:请点这里
Sonar 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-05/117351.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款