SonarQube Python 1.6 和 SonarQube PL/SQL 2.8 发布
欢迎加入运维网交流群:263444886SonarQube PL/SQL 2.8发布,主要更新如下:
[*] Avoid using DELETE or UPDATE without a WHERE clause
[*] Do not declare a variable more than once in a given scope (PLS-00371)
[*] SELECT * should not be used
[*] Avoid using quoted identifiers
[*] Avoid nested subqueries (queries in the WHERE clause)
更多内容请看: release notes ;产品文档:product page
SonarQube Python 1.6发布,所有最新的Python语法功能现在支持:
[*] 3.6: PEP 498: Formatted string literals
[*] 3.5: PEP 448 – Additional Unpacking Generalizations
[*] 3.5: PEP 465 – A dedicated infix operator for matrix multiplication
[*] 3.5: PEP 492 – Coroutines with async and await syntax
[*] 3.3: PEP 380: Syntax for Delegating to a Subgenerator
更新列表:
bug
[*] - Analysis breaks when importing a coverage report containing windows paths and zero coverage switched on
[*] - Parsing error when using "*" in function parameter list
[*] - NPE in NeedlessPassCheck when "pass" is not nested
[*] - FP ExitHasBadArgumentsCheck: parameter with "*"
改进:
[*] - Add a warning in the log when coverage report is not found
[*] - Handle absolute path for coverage report path properties
[*] - False positive S2325: method raises NotImplementedError
[*] - Change the default mode for unit test result import
[*] - update issueManagement url in POM
[*] - update description in POM
[*] - Tune "Sonar way" quality profile
[*] - Do not save 0 for ncloc_data and comment_lines_data metrics
[*] - False Positive on rules considering nested class properties
[*] - Improve MethodShouldBeStaticCheck: ignore built-in methods
[*] - Update FunctionComplexity parameter default value to 20
[*] - Update NestedControlFlowDepthCheck parameter default value to 4
[*] - Update FunctionName and MethodName parameter default value to not limit max name length
[*] - Group plugin properties into subcategories
新特性
[*] - Support NOSONAR to ignore specific issues on the same line
[*] - Migrate plugin on SQ 5.6 LTS
[*] - Support issues with precise location
[*] - Raise issues with precise location for comments-related rules
[*] - Raise issues with precise location for flow-related rules
[*] - Raise issues with precise location for class- and function-related rules
[*] - Raise issues with precise location for bad-usage rules
[*] - Support new Python <=3.6 syntax
[*] - Highlight number literals
[*] - Highlight python docstring
Task
[*] - Migrate text colorizing to use Highlightable interface
[*] - Update maven groupId
[*] - Deprecate rule LongIntegerWithLowercaseSuffixUsage
[*] - Remove BackslashInStringCheck from Sonar Way profile
[*] - Drop SQALE characteristics
[*] - Migrate to Java8
[*] - Drop commons rules
Sub-task
[*] - Parse "yield from"
[*] - Parse coroutines with async and await syntax
[*] - Parse an infix operator for matrix multiplication
[*] - Parse additional unpacking generalizations
[*] - Parse formatted string literals
[*] - Parse 'rb' prefix of raw bytes literals
详细改进请看发行说明,可以通过更新中心进行更新或者安装,文档请看软件主页。
页:
[1]