Skip to content

6.4

Compare
Choose a tag to compare
@valhristov valhristov released this 31 Aug 13:56
· 5041 commits to master since this release

Bug

  • #631 - Fix S2325: Should raise issues for methods and properties with SuppressMessage attribute
  • #671 - Update of plugin to v6.3(build 2862) doesn't report any issues in code.
  • #690 - Fix S3881: Rule should not fail with 'Syntax node is not within syntax tree'
  • #721 - Fix link to GitHub page on sonarlint-website
  • #725 - Fix S1121: NullReferenceException when while loop with assignment expression is within a for loop with no condition
  • #726 - Fix S2372: do not throw ArgumentNullException on nlog
  • #727 - Fix CognitiveComplexity to not throw an exception on Lucene.Net
  • #728 - Fix S3877: do not throw ArgumentNullException on ravendb

False Positive

  • #538 - Fix S2259: "Null pointer dereference" false positive when fields qualified with 'this' are assigned and then read
  • #596 - Fix S3242: Rule should not trigger on interface methods
  • #655 - Update S3881: Correct documentation and add more unit tests
  • #674 - Rules S3897 and S4035 might be in contradiction
  • #682 - Fix S1751: Rule shouldn't raise on exceptions within while loops
  • #692 - Fix S3263: Rule should not raise when constant field is used in initialization
  • #694 - Fix S2372: Allow some exceptions being raised in properties as per CA1065
  • #701 - Fix S3897: Rule should not suggest to implement IEquatable when Equals is not public

Improvement

  • #601 - Update S110: Update the rule behavior to not count classes defined into another root namespace
  • #623 - Update S2068: Credentials should not be hard-coded
  • #684 - Update SonarLint website to mention GitHub repository as a place to file issues

New Feature

  • #335 - Update plugin to support NUnit 3 test results
  • #581 - Rule S2183: Ints and longs should not be shifted by zero or more than their number of bits-1
  • #582 - Rule S1168: Empty arrays and collections should be returned instead of null
  • #610 - Rule S4144: Methods should not have identical implementations
  • #611 - Rule S4142: Duplicate values should not be passed as arguments
  • #626 - Rule S3433: Test methods should have correct signature
  • #636 - Rule S4158: Empty collections should not be accessed or iterated
  • #662 - Rule S1607: Tests should not be ignored
  • #663 - Rule S3415: Assertion arguments should be passed in the correct order
  • #664 - Rule S2701: Literal boolean values should not be used in assertions
  • #665 - Rule S2699: Tests should include assertions
  • #666 - Rule S3431: 'ExpectedExceptionAttribute' should not be used
  • #667 - Rule S2187: Test class should contain test methods

Notes