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

False negative: MagicNumberCheck

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: Objective-C
    • Labels:
      None

      Description

      void fun() {
        @42; // Non-compliant {{Assign this magic number 42 to a well-named variable, and use the variable instead.}}
      }
      

        Attachments

          Activity

            People

            • Assignee:
              samuel.mercier Samuel Mercier (Inactive)
              Reporter:
              evgeny.mandrikov Evgeny Mandrikov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: