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

Deprecate metric executable_lines_data and expose a clean Sensor API as a replacement

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugin API, Scanner
    • Labels:
    • Estimate:
      Hours
    • Edition:
      Community
    • Production Notes:
      None

      Description

      When executable_lines were introduced, we decided to use a metric to let Sensor provide the value. This is not optimal since the information is only used during analysis to compute coverage. Storing the measure is a waste of space.
      Unfortunately, we can't directly stop saving it since some users might rely on it (or integration tests). So we should deprecate it, and introduce a clean API (like for coverage) as a replacement.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              julien.henry Julien Henry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: