Hi,
I was looking into Sonarqube metrics and found out about the “cost to develop 1 line of code” in the technical debt ratio description. It’s default is 0.06 days and we were wondering where this number comes from and if it only includes the developer writing one line of code or if this also includes testing, documentation etc.
Do you, by chance, have any references to cite?
0.06 days equal about 30 minutes, which seems a lot for a single line of code, no?
Technical Debt Ratio (
sqale_debt_ratio
)
Ratio between the cost to develop the software and the cost to fix it. The Technical Debt Ratio formula is:
Remediation cost / Development cost
Which can be restated as:
Remediation cost / (Cost to develop 1 line of code * Number of lines of code)
The value of the cost to develop a line of code is 0.06 days.
Thank you!