WC_Etransactions_Callbacks B

Total Complexity 92
Dependencies 6
Dependents 1
Total lines 658
Lines of code 393
Logical lines of code 286
Comment lines 148
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
addPaymentInfosAndChangeOrderStatus()
B
37 17 78
api_call()
A
47 10 36
saveTokenToDatabase()
A
45 8 41
savePaymentMethodCardOrTokenToForce()
A
52 8 23
ajax_poll_order()
S
52 6 24
getLogFiles()
S
58 4 15
on_payment_succeed()
S
53 3 22
on_ipn()
S
57 3 16
on_payment_failed()
S
57 3 16
onTokenizationIpn()
S
58 3 15
saveCardTokenAfterPayment()
S
63 4 10
saveAllowTokenInformation()
S
63 4 9
on_payment_canceled()
S
58 3 15
checkRequiredParameters()
S
62 3 10
hide_payment_gateway()
S
70 3 6
onTokenizationSucceed()
S
58 2 14
onTokenizationFailed()
S
59 2 13
redirectToCheckout()
S
68 2 8
addCartErrorMessage()
S
80 1 3
addOrderNote()
S
81 1 3
addOrderPayment()
S
66 1 8
__construct()
S
67 1 8