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

Fix the regex default value for the naming convention rules

    Details

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

      Description

      Some of the naming convention rules have a wrong default value. They don't start with "^" and end with "$". This leads to a lot of FN since the rule will not trigger every time a substring matches the regex.

      Examples of the rules with wrong default values: S1878/S2304/S2439/S2342/S3222...

        Attachments

          Activity

            People

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

              Dates

              • Due:
                Created:
                Updated:
                Resolved: