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

Keep "conditions_to_cover" and "conditions_by_line" measure history

    XMLWordPrintable

    Details

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

      Description

      Those 2 metrics are currently purged (because of "#setDeleteHistoricalData(true)" on their definition). This has a consequence for the Views plugin when rebuilding views history using "views.dates": the "coverage" metric is badly computed because those 2 measures are missing for past snapshots.

      Measures of those 2 metrics should therefore be kept in history.
      A test should be done with the Views plugin to make sure that the "coverage" metric is correctly computed when using "views.dates".

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: