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

Add new metrics "complexity in classes" and "complexity in methods" to compute "complexity/class" and "complexity/method"

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: Measures, Plugin API
    • Labels:
      None

      Description

      In some languages we can have a code, which is not associated with classes, but currently "complexity/class" - is a total complexity divided by number of classes, whereas should be - total complexity in classes divided by number of classes (see http://jira.sonarsource.com/browse/CPP-121 and http://jira.sonarsource.com/browse/ABAP-122). New metrics should be introduced to compute correct values. Plugin should be responsible to save values for files and Sonar to compute on other levels.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              godin OLD - Evgeny Mandrikov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: