发布于 2015-05-11 23:50:54 | 397 次阅读 | 评论: 0 | 来源: 网友投递

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

SonarQube代码质量管理平台

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


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是一个用于代码质量管理的开源平台,用于管理源代码的质量,可以从七个维度检测代码质量通过插件形式,可以支持包括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号  版权声明  广告服务