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

Computation of DSM and design metrics done by the core

    XMLWordPrintable

    Details

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

      Description

      In order to simplify batch API the computation of DSM matrix and file/directory design metrics will be done by the core based on inter-files dependencies.
      A log will be displayed and measure ignored when a plugin (only SQ Java AFAIK) will try to save a measure for one of these metrics:

          CoreMetrics.DEPENDENCY_MATRIX,
          CoreMetrics.DIRECTORY_CYCLES,
          CoreMetrics.DIRECTORY_EDGES_WEIGHT,
          CoreMetrics.DIRECTORY_FEEDBACK_EDGES,
          CoreMetrics.DIRECTORY_TANGLE_INDEX,
          CoreMetrics.DIRECTORY_TANGLES,
          CoreMetrics.FILE_CYCLES,
          CoreMetrics.FILE_EDGES_WEIGHT,
          CoreMetrics.FILE_FEEDBACK_EDGES,
          CoreMetrics.FILE_TANGLE_INDEX,
          CoreMetrics.FILE_TANGLES
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henryju OLD - Julien HENRY
              Reporter:
              henryju OLD - Julien HENRY
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: