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

Ability to define flow of locations on issues

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Issues, Plugin API, Scanner
    • Labels:
      None

      Description

      The goal is to highlight the proof, for instance of cyclomatic complexity (see attached screenshot)
      The idea here is to be able to show all the locations which contributed to the creation of this issue.
      We often have users coming back asking where the complexity is coming from, and this feature would allow them to quickly understand how it is computed, directly from the issue itself.
      Of course the following screenshot does not suggest how this should be rendered in the UI, perhaps some highlighting mechanism would be much more appropriate than arrows.

      Issue API should allow to declare an ordered list of code locations. Each of them can have a plain-text message. A code location is a range of couples <line, offset> (see SONAR-4865). First step is to deal only with references in the same file. Cross-files and cross-project references will be supported later.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stas.vilchik Stas Vilchik (Inactive)
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: