Nullable<double> ToDebtRatio( Debt debt, ICodeElement codeElement )
Parameters
- debt
- The estimated debt to fix all issues on codeElement
- codeElement
- The code element on which we infer the percentage of debt
Return Value
The percentage of technical debt or null if the metric NbLinesOfCode is not available for codeElement.