Release Notes - SonarSlang - Version 1.2 - HTML format

False-Positive

  • [SONARSLANG-239] - FP S107(TooManyParametersCheck) on overridden methods

Bug

  • [SONARSLANG-247] - FP S1125(BooleanLiteralCheck) "else if" chain and block

New Feature

  • [SONARSLANG-188] - [Scala] Enable Rule: S1134 Track uses of "FIXME" tags
  • [SONARSLANG-189] - [Scala] Enable Rule: S1135 Track uses of "TODO" tags
  • [SONARSLANG-190] - [Scala] Enable Rule: S4663 Multi-line comments should not be empty
  • [SONARSLANG-191] - [Scala] Enable Rule: S105 Tabulation characters should not be used
  • [SONARSLANG-192] - [Scala] Enable Rule: S103 Lines should not be too long
  • [SONARSLANG-193] - [Scala] Enable Rule: S104 Files should not have too many lines of code
  • [SONARSLANG-194] - [Scala] Enable Rule: S1451 Track lack of copyright and license headers
  • [SONARSLANG-198] - [Scala] Add ruling projects
  • [SONARSLANG-200] - [Scala] Enable Rule: S101 Class names should comply with a naming convention
  • [SONARSLANG-201] - [Scala] Enable Rule: S138 Methods should not have too many lines of code
  • [SONARSLANG-202] - [Scala] Enable Rule: S100 Method names should comply with a naming convention
  • [SONARSLANG-203] - [Scala] Enable Rule: S107 Functions should not have too many parameters
  • [SONARSLANG-204] - [Scala] Enable Rule: S1186 Methods should not be empty
  • [SONARSLANG-205] - [Scala] Enable Rule: S126 "if ... else if" constructs should end with "else" clauses
  • [SONARSLANG-206] - [Scala] Enable Rule: S1066 Collapsible "if" statements should be merged
  • [SONARSLANG-207] - [Scala] Enable Rule: S1479 "match" expressions should not have too many "case" clauses
  • [SONARSLANG-208] - [Scala] Enable Rule: S1821 "match" statements should not be nested
  • [SONARSLANG-209] - [Scala] Enable Rule: S1151 "match case" clauses should not have too many lines of code
  • [SONARSLANG-210] - [Scala] Enable Rule: S1940 Boolean checks should not be inverted
  • [SONARSLANG-211] - [Scala] Enable Rule: S1145 Useless "if(true) {...}" and "if(false){...}" blocks should be removed
  • [SONARSLANG-212] - [Scala] Enable Rule: S108 Nested blocks of code should not be left empty
  • [SONARSLANG-213] - [Scala] Enable Rule: S122 Statements should be on separate lines
  • [SONARSLANG-214] - [Scala] Enable Rule: S1192 String literals should not be duplicated
  • [SONARSLANG-215] - [Scala] Enable Rule: S1764 Identical expressions should not be used on both sides of a binary operator
  • [SONARSLANG-216] - [Scala] Enable Rule: S3923 All branches in a conditional structure should not have exactly the same implementation
  • [SONARSLANG-217] - [Scala] Enable Rule: S1871 Two branches in a conditional structure should not have exactly the same implementation
  • [SONARSLANG-218] - [Scala] Enable Rule: S1862 Related "if/else if" statements should not have the same condition
  • [SONARSLANG-219] - [Scala] Enable Rule: S1313 Using hardcoded IP addresses is security-sensitive
  • [SONARSLANG-220] - [Scala] Enable Rule: S2068 Credentials should not be hard-coded
  • [SONARSLANG-221] - [Scala] Enable Rule: S3776 Cognitive Complexity of functions should not be too high
  • [SONARSLANG-222] - [Scala] Enable Rule: S134 Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply
  • [SONARSLANG-223] - [Scala] Enable Rule: S1656 Variables should not be self-assigned
  • [SONARSLANG-224] - [Scala] Enable Rule: S1067 Expressions should not be too complex
  • [SONARSLANG-225] - [Scala] Enable Rule: S117 Local variable and function parameter names should comply with a naming convention
  • [SONARSLANG-226] - [Scala] Enable Rule: S1763 Jump statements should not be followed by dead code
  • [SONARSLANG-227] - [Scala] Enable Rule: S4144 Methods should not have identical implementations
  • [SONARSLANG-228] - [Scala] Enable Rule: S1172 Unused function parameters should be removed
  • [SONARSLANG-230] - [Scala] Enable Rule: S1481 Unused local variables should be removed
  • [SONARSLANG-233] - [Scala] Enable Rule: S125 Sections of code should not be commented out
  • [SONARSLANG-234] - [Scala] Enable Rule: S1144 Unused "private" methods should be removed
  • [SONARSLANG-235] - [Scala] Enable Rule: S1125 Boolean literals should not be redundant
  • [SONARSLANG-237] - [Scala] Metric: functions
  • [SONARSLANG-241] - [Scala] Import coverage from SCoverage
  • [SONARSLANG-246] - [Scala] Import of issues raised by Scalastyle and Scapegoat

Task

  • [SONARSLANG-182] - [Scala] Create sonar-scala-plugin skeleton
  • [SONARSLANG-183] - [Scala] Add front-end using "Scalameta"
  • [SONARSLANG-197] - [Scala] Create documentation https://docs.sonarqube.org/display/PLUG/SonarScala
  • [SONARSLANG-199] - [Scala] Reduce size of the Scala plugin
  • [SONARSLANG-238] - [Scala] Validate Slang AST completeness
  • [SONARSLANG-243] - Fix NativeTree without children considered equivalent even when tokens differ

Improvement

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.