diff --git a/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/service/KPIService.kt b/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/service/KPIService.kt index 4cba26f18a91f22288341dac63d3c83b9bdbc1af..4127ba4a2a60fd73149a6c24f5281785977b657e 100644 --- a/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/service/KPIService.kt +++ b/src/main/kotlin/de/fraunhofer/iem/dataprovider/kpi/service/KPIService.kt @@ -197,7 +197,16 @@ class KPIService( ), 0.3 ) - processComplianceKPI.addChildKPI(signedCommitsRatioKPI, 0.3) + + processComplianceKPI.addChildKPI( + rawValueKpis.getOrDefault( + KpiKind.CHECKED_IN_BINARIES, + KpiCalculationDto(kind = KpiKind.CHECKED_IN_BINARIES) + ), + 0.2 + ) + + processComplianceKPI.addChildKPI(signedCommitsRatioKPI, 0.2) val documentationKpi = KpiCalculationDto( kind = KpiKind.DOCUMENTATION, @@ -224,8 +233,8 @@ class KPIService( kind = KpiKind.PROCESS_TRANSPARENCY, calculationStrategy = AggregationKPICalculationStrategy() ) - processComplianceKPI.addChildKPI(documentationKpi, 0.4) - processTransparencyKPI.addChildKPI(signedCommitsRatioKPI, 0.5) + processComplianceKPI.addChildKPI(documentationKpi, 0.3) + processTransparencyKPI.addChildKPI(signedCommitsRatioKPI, 1.0) val securityKPI = KpiCalculationDto( kind = KpiKind.SECURITY,