Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-4624

Ability to hide an issue as "won't fix"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: Issues
    • Labels:

      Description

      Here are the use cases that we want to cover and which are not "false-positives" :

      • The issue is intentional
        Ex: you don't want to log nor rethrow an exception when closing a file reader fails
      • Irrelevant in this context
        Ex: System.exit(...) should not be used except for instance in one class of a batch application in charge to stop the execution if all required parameters are not provided

      "Won't-fix" issues should behave like false-positives:

      • they should not increase the technical debt.
      • they should generate a notification:
        • this should be covered by the existing "New false positives" notification
        • , which should be renamed "New ignored issues", with a mouseover to explain that "This covers false positive and won't fix issues".

        Attachments

          Activity

            People

            Assignee:
            simon.brandhof Simon Brandhof (Inactive)
            Reporter:
            freddy.mallet Freddy Mallet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: