热门标签 | HotTags
当前位置:  开发笔记 > Android > 正文

SonarQubeFlex2.1发布,新增15个规则

Sonar,SonarQubeFlex2.1发布,新增15个规则

Git@OSC 手机客户端摇一摇,有惊喜有妹纸

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


推荐阅读
author-avatar
单色设计
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有