发布于 2015-05-20 00:16:56 | 73 次阅读 | 评论: 0 | 来源: 网友投递

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

SonarQube代码质量管理平台

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


SonarQube Java 3.3 发布,此版本增加了一个永远不会被锁定的检测锁和新增了10个新规则,并修复了大量 Bug。更新内容如下;

Sub-task:

  • [SONARJAVA-1062] - Remove usage of ASTNode in SynchronizedClassUsageCheck and Fix check

  • [SONARJAVA-1065] - Remove usage of ASTNode in EmptyMehtodsCheck

  • [SONARJAVA-1066] - Remove usage of ASTNode in EmptyStatementUsageCheck

  • [SONARJAVA-1070] - Remove usage of ASTNode in TooManyStatementsPerLine_S00122_Check

Bug 修复

  • [SONARJAVA-595] - Parsing error: Empty statement in import

  • [SONARJAVA-839] - ClassVariableVisibilityCheck: final fields should not raise an issue.

  • [SONARJAVA-916] - FP S1147 : System.exit should not raise issue when called within a main method

  • [SONARJAVA-967] - FP on S2230: methods from interfaces raise issues when the public modifier is not present

  • [SONARJAVA-1005] - FP on S1994: "for" loop incrementers should modify the variable being tested in the loop's stop condition

  • [SONARJAVA-1025] - Nested enum "enum" should be implicitly marked "static" in semantic

  • [SONARJAVA-1028] - Deprecate rules S1294 and S1318

  • [SONARJAVA-1042] - Rule ForLoopCounterChangedCheck does not match its description

  • [SONARJAVA-1055] - FP S1155 should raise issue only for Collections

  • [SONARJAVA-1061] - FP on S1948: no issue should be raised when using Collections of Serializable objects

  • [SONARJAVA-1064] - FP on S2095: Resources should be closed

  • [SONARJAVA-1067] - NPE on S2186 when symbol is unknown as its owner is set to null

性能提升:

  • [SONARJAVA-618] - Make line numbers of SyntaxToken available

  • [SONARJAVA-1017] - Rule: S2159 Silly equality checks should not be made

  • [SONARJAVA-1034] - Rule: S2692 "indexOf" checks should not be for positive numbers

  • [SONARJAVA-1035] - Rule: S2693 Threads should not be started in constructors

  • [SONARJAVA-1036] - Rule: S2675 "readObject" should not be "synchronized"

  • [SONARJAVA-1040] - Improve Rule: S864 Report issues only once per line

新特征:

  • [SONARJAVA-1030] - Rule: S2222 Locks should be released

  • [SONARJAVA-1037] - Rule: S1858 "toString()" should never be called on a String object

  • [SONARJAVA-1041] - Rules S2864 : "entrySet()" should be iterated when both the key and value are needed

  • [SONARJAVA-1047] - Rule: S2676 "Math.abs" and negation should not be used on numbers that could be "MIN_VALUE"

  • [SONARJAVA-1050] - Rule: S2097 "equals(Object obj)" should test argument type

  • [SONARJAVA-1053] - Rule S2185: Silly math should not be performed

  • [SONARJAVA-1054] - Rule: S2885 "Calendars" and "DateFormats" should not be static

更多内容请看发行页面

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

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号  版权声明  广告服务