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

S5507: Fix false-positives by excluding parameter and static local

    Details

    • Type: False-Positive
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7
    • Component/s: C++
    • Labels:
      None

      Description

      • We shouldn't consider parameters as global. We don't know if parameters are global. Assuming that they are will create a lot of noise/FP.
      • Static local shouldn't be considered as global.

        Attachments

        1. 5507M.PNG
          5507M.PNG
          17 kB
        2. FPS5507.PNG
          FPS5507.PNG
          14 kB
        3. S5507.PNG
          S5507.PNG
          14 kB

          Issue Links

            Activity

              People

              • Assignee:
                abbas.sabra Abbas Sabra
                Reporter:
                abbas.sabra Abbas Sabra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: