Skip to content

2.14.0.2352

Compare
Choose a tag to compare
@alban-auzeill alban-auzeill released this 13 Apr 16:12
· 169 commits to master since this release
bf410be

Release notes - SonarKotlin - 2.14

Bug

SONARKT-267 CPD tokens of unchanged files are not reported during Kotlin incremental branch analysis

SONARKT-271 The Kotlin analyzer distinguishes between changed and unchanged in files in PR context

False-Positive

SONARKT-307 FP in S1128 (Unused import) in case if delegate is a local variable

New Feature

SONARKT-281 Implement rule S6510: "return" statements should be lifted before "if" or "when" statement

SONARKT-283 Implement rule S6511: "When" statements should be used instead of chained "if" statements

SONARKT-284 Implement rule S6508: "Unit" should be used instead of "Void"

SONARKT-285 Implement rule S6518 : Element access should use indexed access operators

SONARKT-287 Implement rule S6512: Getter and setter pattern should use property getters and setters

SONARKT-289 Implement rule S6519: Structural equality tests should use "==" or "!="

SONARKT-290 Implement rule S6517: Single function interfaces should be functional interfaces

SONARKT-291 Implement rule S6516: Functional interface implementations should use lambda expressions

SONARKT-293 Implement rule S6514: Delegator pattern should use "by" clause

Task

SONARKT-309 Update rules and external linters metadata