发布于 2016-01-08 00:18:25 | 248 次阅读 | 评论: 0 | 来源: 网友投递

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

SonarQube代码质量管理平台

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


SonarQube Java 3.9 发布,更新如下:

Bug

  • [SONARJAVA-793] - Nesting of binary expression raise parse time exponentially

  • [SONARJAVA-1218] - NPE with type resolution of ParameterizedType

  • [SONARJAVA-1346] - Rule: fix StackOverflowError in PreparedStatementAndResultSetCheck S2695

  • [SONARJAVA-1347] - FP on S1185: Changing method visibility should not raise issue

  • [SONARJAVA-1396] - IndentationCheck: should handle lambdas having block as body

  • [SONARJAVA-1402] - FP on S3052: PrimitiveWrappers default value should be null

  • [SONARJAVA-1404] - Jacoco sensor silently skipped if report not found

  • [SONARJAVA-1408] - FP in S2187: should not raise issues for abstract testng classes

  • [SONARJAVA-1417] - FP S2094 : When class is annotated, it can be empty as it is used as a marker type

  • [SONARJAVA-1418] - lub computation should not fail semantic analysis

  • [SONARJAVA-1420] - Annotation on array type should be properly handled

  • [SONARJAVA-1429] - FP in IndentationCheck when case contains a block

  • [SONARJAVA-1430] - FN in CallToDeprecatedMethodCheck

改进

  • [SONARJAVA-387] - Rule "Avoid use of deprecated method" should not log an issue when calling a deprecated method from another deprecated method/class

  • [SONARJAVA-1043] - Improve Rule S2259 Add support of NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT

  • [SONARJAVA-1236] - S2187 - FP when abstract parent class has the tests annotated methods

  • [SONARJAVA-1289] - update S1874 for expanded scope

  • [SONARJAVA-1295] - Add support for catch/finally in CFG

  • [SONARJAVA-1370] - While loop do not execute correctly in CFG

  • [SONARJAVA-1378] - Log proper warning when missing 3rd party dependencies

  • [SONARJAVA-1391] - SE: |= and &= assignements should correctly propagate constraints.

  • [SONARJAVA-1397] - CFG: finally block is bypassed when a return statement is encountered in try block

  • [SONARJAVA-1405] - update description in POM

  • [SONARJAVA-1406] - Logging of overflow of step of Symbolic Execution should be in debug

  • [SONARJAVA-1409] - Enable precise issue location for UselessParenthesesCheck and OperatorPrecedenceCheck (S864) rules

  • [SONARJAVA-1414] - Opened resources used as arguments of instance creation should not be tracked

  • [SONARJAVA-1416] - Generalize open/close resources to any AutoCloseable object

  • [SONARJAVA-1419] - Symbolic Execution should not be enabled if no checks requires it are activated in quality profile.

  • [SONARJAVA-1425] - Member select should not occur as explicit element before a method invocation in CFG

  • [SONARJAVA-1432] - Default constructor should be resolved.

  • [SONARJAVA-1433] - FP on S3340: Unknown annotations should not raise issues

  • [SONARJAVA-1437] - Update subset of rules to highlight precise location

  • [SONARJAVA-1439] - Deprecate methods addIssue in JavaFileScannerContext and IssuableSubscriptionVisitor

新特性

  • [SONARJAVA-818] - Rule: S1161, missing @Override: do not raise issue on interface method when source version is less than 6

  • [SONARJAVA-1412] - Pom.xml files should be analysed by java plugin

  • [SONARJAVA-1415] - Rule S3423: pom elements should be in the recommended order

  • [SONARJAVA-1421] - Rule S3422: Dependencies should not have "system" scope

  • [SONARJAVA-1426] - Rule S3419: Group ids should follow a naming convention

  • [SONARJAVA-1428] - Rule S3420: Artifact ids should follow a naming convention

Task

  • [SONARJAVA-1313] - Use LiveVariableAnalysis as purge for SymbolicExecution

  • [SONARJAVA-1314] - S2222 Locks unlocked should rely on symbolic execution

  • [SONARJAVA-1315] - S2095 Unclosed resources should rely on Symbolic Execution

  • [SONARJAVA-1375] - Static methods cannot be overridden in Java

  • [SONARJAVA-1383] - Improve handling of Java version by exposing a dedicated interface instead of an Integer

  • [SONARJAVA-1407] - Simplify integration tests maven submodules structure

  • [SONARJAVA-1411] - Parsed pom.xml file should provide adequate data to write rules

  • [SONARJAVA-1423] - Upgrade to parent pom 25

  • [SONARJAVA-1440] - Drop deprecated methods computing complexity in JavaFileScannerContext

更多内容请看:release notes

文档地址: product page



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