Mollie_WC_Payment_Order D

Total Complexity 130
Dependencies 13
Dependents 2
Total lines 1,092
Lines of code 660
Logical lines of code 299
Comment lines 206
Methods 23
Properties 6

Methods 23

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()
A
46 7 38
onWebhookPaid()
S
50 4 28
onWebhookCompleted()
S
52 4 23
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
addAddressToPaypalOrder()
S
59 1 14
setActiveMolliePayment()
S
67 1 8
__construct()
S
77 1 4