Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • List of parameters:
      • key: maximumNestingLevel
      • description: The maximum nesting level allowed.
      • default: 3
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity
    • Default Quality Profiles:
      Sonar way
    • Legacy Key:
      NestedIf
    • Remediation Function:
      Constant/Issue
    • Constant Cost:
      30min

      Description

      Nested IF statements are a key ingredient for making what's known as "Spaghetti code".
      Such code is hard to read, refactor and therefore maintain.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ann.campbell.2 Ann Campbell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: