Uploaded image for project: 'SonarCOBOL'
  1. SonarCOBOL
  2. SONARCOBOL-1411

Leverage commutative operators in IdenticalOperandsInBinaryExpressionCheck

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently IdenticalOperandsInBinaryExpressionCheck (rule RSPEC-1764) raises an issue on

      if x = y or x = y then...
      

      It should also raise an issue on

      if x = y or y = x then...
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yves.duboispelerin Yves Dubois-Pèlerin (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: