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

Stop storing distribution of issue-related measures by rule

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Database, Measures
    • Labels:
      None

      Description

      Indeed, this was used only by the Issues Drilldown, the hotspot by rule widget and the SQALE Sunburst widget that will all point to the Issues page.

      This means that once the widgets have been updated and the Issues Drilldown page removed, we should:

      • stop persisting the measures by rule
      • delete all the measures that have a rule_id value

      Technical details :

      • Stop feeding rule measures on blocker_violations, critical_violations, etc. and new_blocker_violations, new_critical_violations in CountUnresolvedIssuesDecorator
      • Create a migration ro remove this measures

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: