Purpose
Code Maintainability Rating aims at defining project rating related to the value of Technical Debt Ratio.
How metric helps
Acknowledging the idea of the metric is to identify the ratio of "Technical-Debt vs. Cost-to-Rewrite", in case the ratio grows significantly, decision whether it's a good time to rewrite the application instead of spending too much invaluable time reimbursing your debt may be taken.
How it works
Chart overview
Code Maintainability grade is shown for each project child unit (can be set up via Project Customization Wizard) and distributed over time. Axis X is for day by day timeline, rating grade is placed on Axis Y.
Every project child unit is clickable in the legend so that its grade can be shown/hidden on the chart.
Calculation formula
Maintainability Rating = Technical Debt / Development Cost, where
• technical debt of the project (= sum of the debt of all issues)
• divided to an estimation of the cost to rewrite the application from scratch
...
RAG thresholds: Red = E, D; Amber = C; Green = B, A.
Data Source
Data for the metric can be collected from Sonar or any other project tracking/engineering tool.
...