Mollie_WC_Payment_Order C

Total Complexity 122
Dependencies 13
Dependents 2
Total lines 1,053
Lines of code 632
Logical lines of code 285
Comment lines 202
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
B
34 20 85
refund_order_items()
B
33 18 97
createShippingAddress()
A
43 10 57
refund()
A
41 10 56
createBillingAddress()
A
44 10 54
refund_amount()
A
45 8 41
onWebhookCanceled()
S
47 6 35
maybeUpdateStatus()
S
54 4 23
maximalFieldLengths()
S
63 5 10
onWebhookExpired()
S
51 3 27
onWebhookPaid()
S
53 3 23
onWebhookAuthorized()
S
55 3 19
onWebhookCompleted()
S
55 3 19
getMollieCustomerIbanDetailsFromPaymentObject()
S
60 3 13
getPaymentObject()
S
59 3 12
getSequenceTypeFromPaymentObject()
S
66 3 9
getMollieCustomerIdFromPaymentObject()
S
66 3 9
onWebhookFailed()
S
57 1 17
getMolliePaymentIdFromPaymentObject()
S
70 2 6
updatePaymentDataWithOrderData()
S
67 2 8
setActiveMolliePayment()
S
67 1 8
__construct()
S
77 1 4