智能化下的产物,无人棋牌室
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 等。