Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6695 Move computation of measure by Decorators to Compute Engine
  3. SONAR-6676

Move computation of FILE and DIRECTORIES measures to Compute Engine

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Compute Engine, Scanner
    • Labels:
      None

      Description

      Decorators to migrate to CE :

      • DirectoriesDecorator
      • FilesDecorator

      Current implementation in Batch saves a Measure for File Components of 1 for Metric FILE and a Measure for Directory Components of 1 for Metric DIRECTORY. This was required because of the way aggregation of measures was implemented but it is not anymore. Not saving this measure on FILE Components and Directory Components of 1 would save a lot of lines in table MEASURES.

      But this can not be dropped in 5.2 as this value is required to drilldown on the number of files and directories. Example: https://dory.internal.sonarsource.com/drilldown/measures/58048?metric=files

        Attachments

          Activity

            People

            Assignee:
            sebastien.lesaint Sebastien Lesaint
            Reporter:
            sebastien.lesaint Sebastien Lesaint
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: