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

Refactor the graph displaying the distribution of functions, classes and files by cyclomatic complexity

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Measures
    • Labels:
      None

      Description

      The two main improvements are the following ones:

      • Display the exact number of functions, classes or files for each complexity amount. Instead of working on complexity ranges as this is the case currently. So for instance, we currently know that there are 100 functions having a complexity greater than 12 but we don't have any way to know the complexity distribution of those 100 functions.
      • When displaying a differential view, we should the old and new distribution to visualize the evolution of the distribution

      Moreover when moving the mouse over a bar of the histogram, the exact number of functions, classes or files having this complexity should be displayed.

      This should also lead to create 3 new metrics to provide the new distributions and to deprecated the current metrics.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              freddy.mallet Freddy Mallet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: