发布于 2014-09-20 23:52:14 | 453 次阅读 | 评论: 0 | 来源: 网友投递

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

SonarQube代码质量管理平台

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


SonarQube Flex 2.1 发布,此版本添加了 15 个新规则,同时也修复了一些 bug。

更多更新内容请看发行说明

Bug 修复

  • [SONARFLEX-1] - Class complexity should not include complexity of function declared outside the class.

  • [SONARFLEX-2] - Import of coverage result does not work in multi-language mode

  • [SONARFLEX-3] - Rule "Function names should comply with a naming convention" should not be applied for constructors.

  • [SONARFLEX-37] - Rule: Cases in a "(switch|Select Case)" should not have the same condition

改进

  • [SONARFLEX-19] - Update rule: "Classes should not have too many methods"

  • [SONARFLEX-20] - Display "sonar.flex.cobertura.reportPath" on the web interface

  • [SONARFLEX-21] - Remove ".mxml" from default list of file suffixes

  • [SONARFLEX-38] - Upgrade sonarqube dependency to last LTS 3.7

  • [SONARFLEX-40] - Update sqale model

新特性

  • [SONARFLEX-4] - Rule: "Unused local variables should be removed"

  • [SONARFLEX-6] - Rule: "Functions should not have too many lines"

  • [SONARFLEX-7] - Rule "Copyright and license headers should be defined in all source files"

  • [SONARFLEX-8] - Rule: "Classes should be documented"

  • [SONARFLEX-9] - Rule: "Identical switch cases"

  • [SONARFLEX-10] - Rule: ""MovieClip.onEnterFrame" function should not be used"

  • [SONARFLEX-11] - Rule: "Methods should not be empty"

  • [SONARFLEX-12] - Rule: "Use variable in for loop condition"

  • [SONARFLEX-14] - Rule: "The "trace" function should not be used"

  • [SONARFLEX-15] - Rule: "Avoid Object instanciation in loop"

  • [SONARFLEX-16] - Rule: "Class should not have too many fields"

  • [SONARFLEX-17] - Rule: "Nested switch"

  • [SONARFLEX-18] - Update rule: 'The "Object" type should not be used when creating a new variable'

  • [SONARFLEX-22] - Rule: "Public types, methods and fields (API) should be documented with Javadoc"

  • [SONARFLEX-26] - Rule "Unused function parameters should be removed"

  • [SONARFLEX-33] - Rule: " Function must have access modifier"

你可以通过更新中心安装或者升级到最新版本,文档现已提供在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号  版权声明  广告服务