Uploaded image for project: 'Rules Repository'
  1. Rules Repository
  2. RSPEC-1543

Macro names should comply with a naming convention

    Details

    • Message:
      Rename this 'XXXX' macro to match the regular expression ${format}
    • List of parameters:
      • Key: format
      • Description: Regular expression used to check the macro names against.
      • Default value: ^([A-Z0-9_]|[a-z0-9_])$
    • Default Severity:
      Minor
    • Impact:
      Low
    • Likelihood:
      Low
    • Default Quality Profiles:
      Sonar way
    • Legacy Key:
      PPMacroName
    • Covered Languages:
      ABAP, C, C++, Objective-C
    • Remediation Function:
      Constant/Issue
    • Constant Cost:
      10min

      Description

      Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all macro names match a provided regular expression.

        Attachments

          Issue Links

          1.
          C-Family RSPEC-2891 Language-Specification Active Unassigned
          2.
          ABAP RSPEC-3184 Language-Specification Active Unassigned

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                freddy.mallet Freddy Mallet (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: