diff options
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/constants.ts')
-rw-r--r-- | server/sonar-web/src/main/js/helpers/constants.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/constants.ts b/server/sonar-web/src/main/js/helpers/constants.ts index 82c0fd1ca6e..64f92f5c95a 100644 --- a/server/sonar-web/src/main/js/helpers/constants.ts +++ b/server/sonar-web/src/main/js/helpers/constants.ts @@ -192,10 +192,19 @@ export const DEPRECATED_ACTIVITY_METRICS = [ export const SOFTWARE_QUALITY_RATING_METRICS_MAP: Record<string, MetricKey> = { [MetricKey.releasability_rating]: MetricKey.software_quality_releasability_rating, + [MetricKey.releasability_rating_distribution]: + MetricKey.software_quality_releasability_rating_distribution, [MetricKey.sqale_rating]: MetricKey.software_quality_maintainability_rating, + [MetricKey.maintainability_rating_distribution]: + MetricKey.software_quality_maintainability_rating_distribution, [MetricKey.security_rating]: MetricKey.software_quality_security_rating, + [MetricKey.security_rating_distribution]: MetricKey.software_quality_security_rating_distribution, [MetricKey.reliability_rating]: MetricKey.software_quality_reliability_rating, + [MetricKey.reliability_rating_distribution]: + MetricKey.software_quality_reliability_rating_distribution, [MetricKey.security_review_rating]: MetricKey.software_quality_security_review_rating, + [MetricKey.security_review_rating_distribution]: + MetricKey.software_quality_security_review_rating_distribution, [MetricKey.reliability_remediation_effort]: MetricKey.software_quality_reliability_remediation_effort, [MetricKey.security_remediation_effort]: MetricKey.software_quality_security_remediation_effort, @@ -204,9 +213,17 @@ export const SOFTWARE_QUALITY_RATING_METRICS_MAP: Record<string, MetricKey> = { [MetricKey.effort_to_reach_maintainability_rating_a]: MetricKey.effort_to_reach_software_quality_maintainability_rating_a, [MetricKey.new_maintainability_rating]: MetricKey.new_software_quality_maintainability_rating, + [MetricKey.new_maintainability_rating_distribution]: + MetricKey.new_software_quality_maintainability_rating_distribution, [MetricKey.new_security_rating]: MetricKey.new_software_quality_security_rating, + [MetricKey.new_security_rating_distribution]: + MetricKey.new_software_quality_security_rating_distribution, [MetricKey.new_reliability_rating]: MetricKey.new_software_quality_reliability_rating, + [MetricKey.new_reliability_rating_distribution]: + MetricKey.new_software_quality_reliability_rating_distribution, [MetricKey.new_security_review_rating]: MetricKey.new_software_quality_security_review_rating, + [MetricKey.new_security_review_rating_distribution]: + MetricKey.new_software_quality_security_review_rating_distribution, [MetricKey.new_technical_debt]: MetricKey.new_software_quality_maintainability_remediation_effort, [MetricKey.new_reliability_remediation_effort]: MetricKey.new_software_quality_reliability_remediation_effort, |