Mollie_WC_Payment_Payment A

Total Complexity 62
Dependencies 9
Dependents 2
Total lines 543
Lines of code 313
Logical lines of code 172
Comment lines 95
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
A
38 12 72
refund()
A
43 7 46
onWebhookCanceled()
A
48 7 33
onWebhookPaid()
S
50 7 27
getPaymentDescription()
S
53 6 25
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