# HotelKpiMonthlyServiceImpl

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 1,978 of 1,988 | 0% | 100 of 100 | 0% | 89 | 91 | 395 | 398 | 39 | 41
listHotelKpi(PropertyDTO, HotelKpiQuery) |  | 0% |  | 0% | 2 | 2 | 38 | 38 | 1 | 1
listHotelKpiV2(PropertyDTO, HotelKpiQuery) |  | 0% |  | 0% | 2 | 2 | 33 | 33 | 1 | 1
generateCompletionRate(PropertyDTO, YearMonth, Map) |  | 0% |  | 0% | 7 | 7 | 36 | 36 | 1 | 1
convertToMetricsDTOListV2(PropertyDTO, List, long, long, List) |  | 0% |  | 0% | 4 | 4 | 31 | 31 | 1 | 1
generateCalculationFactorValue(YearMonth, YearMonth, Map) |  | 0% |  | 0% | 2 | 2 | 26 | 26 | 1 | 1
convertToMetricsDTOList(List, long, long, List) |  | 0% |  | 0% | 4 | 4 | 21 | 21 | 1 | 1
saveV2(PropertyDTO, HotelKpiV2MetricsSaveDTO, HotelKpiMetricsConfig, int) |  | 0% |  | 0% | 2 | 2 | 20 | 20 | 1 | 1
saveCrawlValueV2(PropertyDTO, HotelKpiV2CrawlValueDTO, HotelKpiMetricsConfig) |  | 0% |  | 0% | 2 | 2 | 20 | 20 | 1 | 1
save(PropertyDTO, HotelKpiMetricsSaveDTO, int) |  | 0% |  | 0% | 2 | 2 | 14 | 14 | 1 | 1
generateCalculationFactorValueNext(YearMonth, Map) |  | 0% |  | n/a | 1 | 1 | 15 | 15 | 1 | 1
getDataRange(long, int) |  | 0% |  | 0% | 4 | 4 | 15 | 15 | 1 | 1
packageCalculationFactor(PropertyDTO, List, YearMonth, Map) |  | 0% |  | 0% | 5 | 5 | 15 | 15 | 1 | 1
packageDataRange(List) |  | 0% |  | 0% | 4 | 4 | 9 | 9 | 1 | 1
packageDataRangeV2(List) |  | 0% |  | 0% | 4 | 4 | 9 | 9 | 1 | 1
packageCalculationFactorDetail(PropertyDTO, YearMonth, List, Map, HotelKpiExplainValueDTO) |  | 0% |  | 0% | 4 | 4 | 12 | 12 | 1 | 1
lambda$convertToMetricsDTOListV2$10(HotelKpiV2OriginDetailDTO) |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
lambda$saveV2$11(Map, int, HotelKpiV2OriginDetailDTO) |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
lambda$saveCrawlValueV2$12(Map, HotelKpiV2OriginDetailDTO) |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
lambda$convertToMetricsDTOList$8(HotelKpiMonthly, HotelKpiOriginDetailDTO, HotelKpiMetricsDTO) |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
packageSettingValue(int, List, List, long, long, DayOfWeek) |  | 0% |  | 0% | 2 | 2 | 8 | 8 | 1 | 1
insertOrUpdateBatch(List) |  | 0% |  | 0% | 2 | 2 | 11 | 11 | 1 | 1
listByDateRangeAndMetricsTypes(int, long, long, List) |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
listByDateAndMetricsTypes(int, long, List) |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1
listByDateRange(int, long, long, int) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
listByDateRangeAndMetricsType(int, long, long, int) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
listKpiMetricsDTOListV2(PropertyDTO, long, long, List) |  | 0% |  | n/a | 1 | 1 | 3 | 3 | 1 | 1
getByDateAndMetricsType(int, long, int) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
insertOrUpdate(HotelKpiMonthly) |  | 0% |  | 0% | 2 | 2 | 8 | 8 | 1 | 1
listKpiMetricsDTOList(int, long, long, List) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
formatNegativeValue(BigDecimal) |  | 0% |  | 0% | 3 | 3 | 4 | 4 | 1 | 1
lambda$generateCalculationFactorValueNext$7(HotelKpiCalculationFactorDTO) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$generateCalculationFactorValue$6(HotelKpiCalculationFactorDTO) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$generateCalculationFactorValue$5(HotelKpiCalculationFactorDTO) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$generateCompletionRate$4(HotelKpiCalculationFactorDTO) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$generateCompletionRate$3(long, Long) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$generateCompletionRate$2(HotelKpiCalculationFactorDTO) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$packageCalculationFactorDetail$1(HotelKpiCalculationFactorDTO) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$listHotelKpiV2$9(HotelKpiMetricsConfig) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
lambda$listHotelKpi$0(Integer) |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
HotelKpiMonthlyServiceImpl() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1