PaymentService

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total382 of 78051%38 of 5024%3750942101425
initializePayment(Long, PaymentChoiceRequest)680%20%22222211
refundPayment(Long, BigDecimal)482736%5337%45111701
validateDonationCanAcceptPayment(Donation)470%120%77121211
buildUiConfig(PaymentProvider, PaymentResponse)440%40%33131311
cancelPayment(Long)302040%1150%1271101
getUserPaymentHistory(Pageable, String)300%40%337711
getCurrentUsername()240%60%444411
getPaymentProvidersHealth()198281%1375%1342001
getPaymentsByDonation(Long)130%n/a114411
getPaymentById(Long)110%n/a113311
handleStripeWebhook(String, String)100%n/a113311
handlePayUWebhook(String, String)100%n/a113311
lambda$updatePaymentStatus$4()50%n/a111111
lambda$refundPayment$3()50%n/a111111
lambda$getPaymentById$2()50%n/a111111
lambda$initializePayment$1()50%n/a111111
lambda$cancelPayment$0()50%n/a111111
canCancelPayment(Payment)21083%2250%230201
markLowestFee(List)1894%1150%121801
getAvailablePaymentOptions(BigDecimal, String)134100%2100%0205501
updatePaymentStatus(Long, PaymentStatus)42100%n/a010801
calculatePaymentFee(BigDecimal, PaymentProvider)38100%n/a0101201
getSupportedPaymentMethods(PaymentProvider)19100%n/a010501
lambda$markLowestFee$5(PaymentProviderOption)4100%n/a010101
static {...}4100%n/a010101