Maintainability is focused on code smells, a maintainability-related issue in the code. Leaving it as it is means in the best case scenario, that even the best developers will have a harder time when they try to introduce code changes. In the worst case scenario, they'll be so confused by the state of the code that they'll introduce additional errors as they make changes. 


Rating given to your project related to the value of your Technical Debt Ratio. 

The technical debt is the effort to fix all maintainability issues whereas technical debt ratio is the 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.

The default Maintainability Rating grid is: A=0-0.05, B=0.06-0.1, C=0.11-0.20, D=0.21-0.5, E=0.51-1

The Maintainability Rating scale can be alternately stated by saying that if the outstanding remediation cost is:

  • <=5% of the time that has already gone into the application, the rating is A
  • between 6 to 10% the rating is a B
  • between 11 to 20% the rating is a C
  • between 21 to 50% the rating is a D
  • anything over 50% is an E

  • Sin etiquetas