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

Improve computation of Technical Debt Ratio on New Code

    XMLWordPrintable

    Details

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

      Description

      The computation of this metric suffers from some corner cases - which are not that rare in fact:

      • when no file has changed in a folder but there are new issues due to newly activated rules
      • when only 1 file has slightly be updated in a folder
      • ...

      In such cases, the value that is computed can be completely crazy. We should take time to improve this. Comments on SONAR-5876 already give some details on why we've got those issues.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              fabrice.bellingard Fabrice Bellingard
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: