Mollie_WC_Payment_Payment A

Total Complexity 54
Dependencies 9
Dependents 2
Total lines 505
Lines of code 280
Logical lines of code 147
Comment lines 94
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
A
38 12 70
refund()
A
43 7 46
onWebhookCanceled()
S
49 6 30
onWebhookPaid()
S
52 6 24
onWebhookExpired()
S
51 4 26
getPaymentObject()
S
59 3 12
getMollieCustomerIdFromPaymentObject()
S
65 3 10
getSequenceTypeFromPaymentObject()
S
65 3 10
maybeUpdateStatus()
S
66 3 9
onWebhookFailed()
S
57 1 17
getMolliePaymentIdFromPaymentObject()
S
72 2 6
getMollieCustomerIbanDetailsFromPaymentObject()
S
65 2 9
__construct()
S
81 1 3
setActiveMolliePayment()
S
67 1 8