},
calcAdditionalMeasures (measures) {
+ measures.issuesRemediationEffort =
+ (measures.sqale_index_raw || 0) +
+ (measures.reliability_remediation_effort_raw || 0) +
+ (measures.security_remediation_effort_raw || 0);
+
if (measures.lines_to_cover && measures.uncovered_lines) {
measures.covered_lines = measures.lines_to_cover_raw - measures.uncovered_lines_raw;
}
<span class="measure-name">{{t 'metric.violations.name'}}</span>
</div>
<div class="measure measure-big" data-metric="sqale_index">
- <span class="measure-value">{{default measures.sqale_index 0}}</span>
+ <span class="measure-value">{{formatMeasure measures.issuesRemediationEffort 'SHORT_WORK_DUR'}}</span>
<span class="measure-name">{{t 'metric.sqale_index.short_name'}}</span>
</div>
</div>