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

Drop unused metric "comment_lines_data"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3
    • Component/s: Measures
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The metric comment_lines_data is populated by analyzers but it's never used. It should be ignored when scanner generates report and when Compute Engine processes measures.

      Analyzers should still be able to provide comment_lines_data measures, without failing, in order to be compatible with previous versions. A warning log is displayed once in that case:

      [WARNING] Metric 'comment_lines_data' is deprecated. Provided value is ignored.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: