Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-175

Reduce FP rate on S108

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: Kotlin, Ruby, Rules
    • Labels:
      None

      Description

      Rule RSPEC-108 has FP on while loops.
      It is actually pretty frequent to have empty body for while loop when the condition of the while is itself a method updating the relying object at each iteration

        Attachments

          Activity

            People

            Assignee:
            christophe.zurn Christophe Zurn
            Reporter:
            christophe.zurn Christophe Zurn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: