Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-1761

Introduce custom issue filters

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugin
    • Labels:

      Description

      The issue filtering mechanism allows to define ways to filter issues which would have been raised by any rule during analysis.

      From an implementation point of view, implementing a java issue filter is done using the same approach than writing a rule and rely on syntax tree scanning. Example of existing issue filters already in production within the java plugin can be found here: java-checks/src/main/java/org/sonar/java/filters

      It should be possible for users implementing custom plugins to provide custom issue filter the same way custom rules are currently supported.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              michael.gumowski Michael Gumowski
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated: