if (hasDebt) {
return mergeDebtDefinitions(def, dto,
subCharacteristic.getId(),
debtRemediationFunction.type().name(),
debtRemediationFunction.coefficient(),
debtRemediationFunction.offset(),
def.effortToFixDescription());
}
return mergeDebtDefinitions(def, dto, null, null, null, null, null);
}