Details

Type: New Feature

Status: Closed

Priority: Major

Resolution: Fixed

Affects Version/s: None

Fix Version/s: 5.2

Component/s: Compute Engine, Measures

Labels:None
Description
Specifications:
 Key: new_sqale_debt_ratio
 Name: Technical Debt Ratio on new code
 Description: Technical Debt Ratio of new/changed code.
 Domain: Technical Debt
 Type: percent
 Direction: worst
 Qualitative: true
 Best value: 0
As an approximation, to compute this new metric, let's consider:
 the added technical debt over the given period
 the number of lines (ncloc) added/updated over this period
, and then apply the formula of the technical debt ratio.
Notes:
 If no SCM data is available on a project, then this metric won't be computed because it is required to have it to detected new or updated lines
 Because it's impossible to use the complexity for the formula (whereas it can used to compute the technical debt ratio),
SONAR6859has to be implemented at the same time so that we are consistent in both metric definitions  If some issues are generated by removing some lines of code on a file, then the new technical debt ratio for this file will be 0.0%.
Attachments
Issue Links
 implements

MMF39 Evaluate the technical debt ratio introduced on new code
 Closed
 is depended upon by

SONAR7119 Compute Maintainability Rating of New Code
 Closed

SONAR6860 Add the "technical debt ratio on new code" measure in the "Technical Debt Synopsis" widget
 Closed

SONAR6143 Update the out of the box default Quality Gate to concentrate on Water Leak concept
 Closed
 is related to

SONAR7103 Improve computation of Technical Debt Ratio on New Code
 Closed

SONAR6859 Technical Debt Ratio should be computed using LOC
 Closed
 relates to

SONAR5445 Introduce new metric "SQALE Debt Ratio"
 Closed