4
votes

In the new version of sonarqube, the documntation states that technical debt (TD)

TD= Effort to fix all maintainability issues. The measure is stored in minutes in the DB. An 8-hour day is assumed when values are shown in days.

However, how does sonarqube measure maintainability issues?

1

1 Answers

9
votes

Each rule that detects an issue in SonarQube has a remediation effort function. This remediation function is visible on the description page of each rule:

enter image description here

This remediation effort is used to compute the technical debt of every code smell (= maintainability issues).

The technical debt of a project is the simply the sum of the technical debt of every code smell in the project (which means that bugs and vulnerabilities don't contribute to the technical debt).