Mollie_WC_Payment_Order D

Total Complexity 128
Dependencies 13
Dependents 2
Total lines 1,086
Lines of code 662
Logical lines of code 296
Comment lines 201
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
C
33 24 87
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
onWebhookPaid()
S
46 4 37
onWebhookCompleted()
S
47 4 33
maybeUpdateStatus()
S
54 4 23
maximalFieldLengths()
S
63 5 10
onWebhookExpired()
S
51 3 27
onWebhookAuthorized()
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