CouponService

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total0 of 533100%1 of 6698%151076018
validate(String, Long, BigDecimal)84100%11392%1801601
audited(Coupon)77100%n/a010301
update(long, CouponDtos.UpdateCouponRequest)65100%4100%030901
create(CouponDtos.CreateCouponRequest)60100%2100%020901
search(String, String)45100%10100%060801
setActive(long, boolean)43100%6100%040701
state(Coupon)36100%12100%070601
checkTerms(String, BigDecimal, LocalDateTime, LocalDateTime)28100%10100%060501
redeem(Coupon, Long, Long)25100%2100%020401
CouponService(CouponRepository, CouponRedemptionRepository, Clock, ApplicationEventPublisher)15100%n/a010601
lambda$search$4(String, Coupon)12100%4100%030101
normalize(String)8100%2100%020101
static {...}8100%n/a010101
lambda$setActive$2(long)6100%n/a010101
lambda$update$1(long)6100%n/a010101
lambda$validate$0(String)6100%n/a010101
lambda$search$3(String, Coupon)5100%n/a010101
all()4100%n/a010101