发布于 2015-05-01 00:51:15 | 91 次阅读 | 评论: 0 | 来源: 网友投递

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

SonarQube代码质量管理平台

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


SonarQube Java 3.2 发布,此版本新增了一个用来检测未闭合的资源(unclosed resources)规则和一个用户测试代码的规则。更新内容如下;

Sub-task:

  • [SONARJAVA-979] - Support relations between symbolic values deduced from relational operators

  • [SONARJAVA-980] - Support interpretation of complex condition expressions

  • [SONARJAVA-981] - Support symbolic values on boolean variables

  • [SONARJAVA-982] - Support detection of opposite complex sub-conditions

  • [SONARJAVA-989] - Add full analysis of blocks

  • [SONARJAVA-995] - Support detection of Closeable which are never closed (ignoring loops and conditional path)

  • [SONARJAVA-996] - Support detection of Closeable which are created in loop but closed outside

  • [SONARJAVA-997] - Create properties to provide test classpath to analyzer

  • [SONARJAVA-998] - Support detection of Closeable which are not closed in if-then-else statements

  • [SONARJAVA-999] - Support try-with-resource statements

  • [SONARJAVA-1000] - Primitive values should be considered as symbol values

  • [SONARJAVA-1001] - Evaluation of conditions should also work when dealing with class fields

  • [SONARJAVA-1004] - Add support of switch statements

  • [SONARJAVA-1006] - Fix false positive: try-catch-finally blocks

  • [SONARJAVA-1027] - Support detection of Closeable which are not closed in switch statements

Bug 修复

性能提升:

  • [SONARJAVA-217] - Reference highlighting: Also compute and display references on test sources

  • [SONARJAVA-724] - Provide an alternative to PMD rule 'CloseResource' able to detect more cases of connection leaks

  • [SONARJAVA-830] - Migrate java code colorizer for test from core to sonar-java-plugin

  • [SONARJAVA-935] - Surefire test reports path should only be read from sonar.junit.reportsPath property

  • [SONARJAVA-1002] - Deprecate: S1145 - "if" statement conditions should not unconditionally evaluate to "true" or to "false"

  • [SONARJAVA-1019] - Rule: S2387 Child class members should not shadow parent class members

  • [SONARJAVA-1020] - Rule: S2677 "read", "readLine", and "next" return values should be used

  • [SONARJAVA-1021] - Rule: S2786 Nested "enum"s should not be declared static

新特征:

  • [SONARJAVA-869] - Rule: Unit tests should not be ignored

  • [SONARJAVA-966] - Rule: Conditions should not unconditionally evaluate to "TRUE" or to "FALSE"

  • [SONARJAVA-992] - Rule S2095: Resources should be closed

  • [SONARJAVA-994] - Provide a mechanism to allow execution of rules specific to unit tests on test files.

  • [SONARJAVA-1007] - Rule:  S2701 Literal boolean values should not be used in assertions

  • [SONARJAVA-1008] - Rule: S2700 Test cases should include tests

  • [SONARJAVA-1011] - Rule: S2187 TestCases should contain tests

  • [SONARJAVA-1012] - Rule S2186 JUnit assertions should not be used in "run" methods

  • [SONARJAVA-1013] - Rule: S2698 JUnit assertions should include messages

  • [SONARJAVA-1014] - Rule: S2188 JUnit test cases should call super methods

  • [SONARJAVA-1016] - Rule: S864 Limited dependence should be placed on operator precedence rules in expressions

任务:

更多内容请看发行页面

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