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

Deprecate the "Overall condition coverage" related metrics and stop storing related measures

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      As overall coverage must now be computed by the platform based on UT and IT measures (see SONAR-6202), the "Overall condition coverage" related metrics should be deprecated because:

      • those metrics cannot be deduced from their UT & IT equivalents
        • => Only tools like JaCoCo knows how to merge UT & IT coverage results and give the right information
      • anyways, we have the feeling that the "Overall condition coverage" related measures are not useful for drilling down (UT & IT ones can be used instead)

      As a consequence:

      • all "Overall condition coverage" related metrics should be declared as deprecated:
        • overall_conditions_to_cover
        • overall_uncovered_conditions
        • overall_branch_coverage
        • new_overall_conditions_to_cover
        • new_overall_uncovered_conditions
        • new_overall_branch_coverage
        • overall_conditions_by_line
        • overall_covered_conditions_by_line
      • the platform should not store them anymore

      The metrics will be removed in 6.x LTS.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fabemn OLD - Fabrice Bellingard
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: