AppointmentUtilities

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1 337 of 1 95031 %221 of 29023 %1631972784253052
buildAppointmentDTO(Appointment)1090 %20 %22282811
getPermissions(List, AdminUser)940 %20 %22131311
weekIsOpenInFO(AppointmentFormDTO, List, Locale)890 %220 %1212181811
buildListResponse(AppointmentDTO, HttpServletRequest, Locale)800 %60 %44161611
checkNoAppointmentsImpacted(List, AppointmentFormDTO)750 %120 %77161611
putTimerInSession(HttpServletRequest, int, AppointmentDTO, int)700 %20 %22161611
validateFormAndEntries(AppointmentDTO, HttpServletRequest, List, boolean)660 %80 %55151511
checkNbDaysBetweenTwoAppointmentsTaken(AppointmentDTO, String, AppointmentFormDTO)630 %120 %77171711
checkListSlotIsBuildedCorrectly(int, List)630 %100 %66121211
checkEmail(String, String, AppointmentFormDTO, Locale, List)530 %80 %55141411
checkNbMaxAppointmentsDefinedOnCategory(AppointmentDTO, String, AppointmentFormDTO, List)510 %140 %88121211
checkAndReturnNbBookedSeats(String, AppointmentFormDTO, AppointmentDTO, Locale, List)443645 %6650 %57102101
checkNoAppointmentsImpacted(List, int)390 %60 %44101011
fillInReservationRuleAdvancedParam(ReservationRuleDTO, AppointmentFormDTO)370 %n/a11101011
cancelTaskTimer(HttpServletRequest, int)340 %40 %336611
fillInListResponseWithMapResponse(AppointmentDTO)320 %60 %448811
isConsecutiveSlots(List)290 %80 %557711
lambda$findSlotsImpactedByThisTimeSlot$12(WorkingDay, TimeSlot, Slot)290 %80 %554411
fillAppointmentDTO(AppointmentDTO, int, String, String, String, String)260 %n/a117711
lambda$findSlotsImpactedByThisTimeSlot$13(WorkingDay, TimeSlot, Slot)251639 %10216 %673601
checkDateOfTheAppointmentIsNotBeforeNow(AppointmentDTO, Locale, List)240 %40 %336611
isEditSlotTaskExpiredTime(HttpServletRequest, int)220 %40 %332211
shutdownSecheduledExecutor()220 %20 %229911
checkNbMaxAppointmentsOnAGivenPeriod(AppointmentDTO, String, AppointmentFormDTO)169685 %101050 %91153101
lambda$checkListSlotIsBuildedCorrectly$14(Slot, Slot)160 %40 %332211
lambda$checkNoAppointmentsImpacted$10(Slot, TimeSlot)160 %40 %331111
lambda$checkNbMaxAppointmentsDefinedOnCategory$7(LocalDateTime, AppointmentDTO)120 %40 %331111
findSlotsImpactedByThisTimeSlot(TimeSlot, int, int, boolean)113375 %1150 %1231301
lambda$checkNoAppointmentsImpacted$9(Slot, WorkingDay)110 %20 %221111
getAppointmentByEmail(String, int)93378 %3562 %3511001
lambda$checkNbMaxAppointmentsDefinedOnCategory$8(AppointmentDTO, AppointmentDTO)90 %20 %221111
lambda$checkNbMaxAppointmentsOnAGivenPeriod$4(AppointmentDTO, AppointmentDTO)90 %20 %221111
lambda$checkNbDaysBetweenTwoAppointmentsTaken$2(AppointmentDTO, Appointment)90 %20 %221111
checkNoAppointmentsImpacted(List, int, int, AppointmentFormDTO)89592 %81055 %81042701
lambda$getAppointmentByEmail$3(int, Appointment)80 %20 %221111
setAppointmentPhoneNumberValuesFromResponse(AppointmentDTO)73382 %2250 %2331701
lambda$checkNbMaxAppointmentsOnAGivenPeriod$5(LocalDate, AppointmentDTO)7956 %3125 %230201
lambda$static$0(Runnable)60 %n/a111111
getEndingDateTime(Appointment)22392 %2250 %231501
getStartingDateTime(Appointment)22191 %1150 %121501
lambda$checkNbMaxAppointmentsOnAGivenPeriod$6(LocalDate, AppointmentDTO)21487 %2250 %230201
lambda$checkNbDaysBetweenTwoAppointments$1(AppointmentFormDTO, Slot)1888 %1150 %120101
checkNbDaysBetweenTwoAppointments(AppointmentDTO, String, AppointmentFormDTO)56100 %4660 %4601401
getSlotsByEmail(String, int)34100 %3562 %350901
checkNoValidatedAppointmentsOnThisSlot(Slot)24100 %1375 %130701
getMaxTimeToDisplay(LocalTime)19100 %2100 %020401
getMinTimeToDisplay(LocalTime)17100 %2100 %020401
lambda$setAppointmentPhoneNumberValuesFromResponse$15(Response)14100 %1375 %130101
checkNoAppointmentsImpacted(List, int, LocalDate, AppointmentFormDTO)11100 %n/a010201
lambda$setAppointmentPhoneNumberValuesFromResponse$16(String)10100 %1375 %130101
lambda$checkNoValidatedAppointmentsOnThisSlot$11(Appointment)7100 %2100 %020101
static {...}4100 %n/a010201