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

Calculate "New Lines of Code" metric

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Measures
    • Labels:
      None
    • Edition:
      Community

      Description

      We currently calculate "New Lines", which includes blank lines, comment lines, ...

      We should add "New Lines of Code" for use in

      • calculation of whether to fail the quality gate for uncovered lines (SONAR-9352)
      • Duplications density on new code
      • Coverage % on new code
      • ...

      Those items will have separate tickets. This ticket is just about adding the New Lines of Code metric. It should be based on the Lines of Code value.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ann.campbell.2 Ann Campbell
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: