7

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?

Nathan
  • 541
  • 1
  • 4
  • 20

1 Answers1

9

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:

tech debt configuration

phss
  • 1,012
  • 10
  • 22
  • 1
    I'm working in a big company and I will not be able to contact the person who set up SonarQube, is there a way to check this if you are not an admin? Can I fetch that value with the API maybe? – Nathan Jan 14 '17 at 17:40
  • Unfortunately I haven't found an obvious way of doing this. :( It might be possible to use the key 'sonar.technicalDebt.hoursInDay', but I haven't seen an API that allows it. – phss Jan 14 '17 at 17:49