If SonarQube says I have 1 day of technical debt in a project, does that translate to 24 hours of technical debt or 8 hours of technical debt?
Most issues in SonarQube have a remediation cost attached (estimated time to fix an issue). This could be 1m, 5m, 30m, etc… The sum of all these remediation costs for Code Smells (maintainability issues) for a project is the technical debt.
For our environment, we define any tech debt from 0 to 0.4 as acceptable, anything between 0.5 and 0.7 as concerning, and anything above 0.7 as critical.
Organizations can track technical debt issues in the same way they track and remediate software defects: Use a ticket or tracking system. This approach lists and prioritizes technical debt issues along with defects, effectively keeping technical debt issues on the same page as software defects or problems.
SonarQube comes with three technical debt widgets in-built, each limiting the amount of technical information the report shows on the screen (this is helpful since we can pick and choose which level of technical information to report across multiple levels of a team).
The translation from hours into days is customisable. By default it's 8 hours, but you can find out your setting by going to Administration > Configuration > Technical Debt.
Screenshot of an example, from my project, below:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With