Mollie_WC_Payment_Order D

Total Complexity 170
Dependencies 12
Dependents 2
Total lines 1,098
Lines of code 641
Logical lines of code 341
Comment lines 211
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
getPaymentRequestData()
D
26
46 116
refund_order_items()
B
33 18 97
onWebhookCanceled()
A
41 14 51
onWebhookExpired()
A
41 13 53
onWebhookFailed()
A
44 13 44
refund()
A
41 10 56
refund_amount()
A
44 9 41
onWebhookPaid()
A
46 8 40
onWebhookAuthorized()
A
48 8 32
onWebhookCompleted()
A
48 8 32
maximalFieldLengths()
S
63 5 10
getMollieCustomerIbanDetailsFromPaymentObject()
S
60 3 13
getPaymentObject()
S
59 3 12
getSequenceTypeFromPaymentObject()
S
66 3 9
getMollieCustomerIdFromPaymentObject()
S
66 3 9
getMolliePaymentIdFromPaymentObject()
S
70 2 6
updatePaymentDataWithOrderData()
S
67 2 8
setActiveMolliePayment()
S
67 1 8
__construct()
S
77 1 4