Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-415

[Go] Enable rules relying on Binary and Unary Expression, including two new rules (S1940, S1067)

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None
    • Estimate:
      Hours

      Description

      New rules:

      • S1940 BooleanInversionCheck
      • S1067 TooComplexExpressionCheck

      Already present in Sonar-Go:

      • S1125 BooleanLiteralCheck
      • S1764 IdenticalBinaryOperandCheck

       

      The rules also need ParenthesizedExpressionTree.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.gumowski Michael Gumowski
                Reporter:
                quentin.jaquier Quentin Jaquier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: