Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-612

Rule: Identical expressions should not be used on both sides of a binary operator

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: C, C++, Rules
    • Labels:
      None

      Description

      According to http://www.viva64.com/en/examples/V501/ this is pretty common mistake of copy-and-paste.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                massimo.paladin Massimo PALADIN
                Reporter:
                evgeny.mandrikov Evgeny Mandrikov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: