WC_Etransactions_Abstract_Gateway D

Total Complexity 252
Dependencies 10
Dependents 0
Total lines 1,774
Lines of code 1,181
Logical lines of code 595
Comment lines 338
Methods 53
Properties 4

Methods 53

Method Rating Maintainability Complexity Lines of code
addPaymentInfosAndChangeOrderStatus()
B
38 15 74
__construct()
A
42 16 43
getGlobalConfigurationFields()
A
33 10 108
generate_cards_configuration_html()
A
43 11 54
outputPaymentForm()
A
40 9 70
api_call()
A
49 10 31
admin_options()
A
41 7 70
saveTokenToDatabase()
A
44 8 43
process_admin_options()
A
51 9 23
savePaymentMethodCardOrTokenToForce()
A
52 8 23
is_available()
A
54 8 22
getCurrentConfigMode()
A
56 8 16
display_custom_admin_notices()
S
50 7 29
process_order_status_changed()
S
49 7 28
display_tokens_as_payment_gateways()
S
48 6 32
allowDisplay()
S
58 7 16
ajax_poll_order()
S
52 6 24
init_settings()
S
54 6 20
getReturnUrls()
S
49 5 32
getAccountConfigurationFields()
S
40 2 73
display_custom_cards_as_payment_gateways()
S
51 5 25
add_payment_method()
S
55 5 19
onTokenizationIpn()
S
56 5 18
on_payment_succeed()
S
53 4 23
initHooksAndFilters()
S
53 4 21
on_ipn()
S
58 4 16
saveCardTokenAfterPayment()
S
63 4 10
saveAllowTokenInformation()
S
63 4 9
payment_fields()
S
64 4 10
on_payment_failed()
S
59 3 14
on_payment_canceled()
S
60 3 13
load_custom_front_assets()
S
59 3 13
getCurrentCard()
S
66 3 8
hide_payment_gateway()
S
70 3 6
hide_main_payment_gateway()
S
70 3 6
getCurrentEnvMode()
S
66 3 7
checkRequiredParameters()
S
62 3 10
getCardsConfigurationFields()
S
61 2 13
receipt_page()
S
59 2 13
onTokenizationSucceed()
S
60 2 12
onTokenizationFailed()
S
61 2 11
redirectToCheckout()
S
68 2 8
getInstance()
S
70 2 6
load_custom_admin_assets()
S
65 2 9
get_option_key()
S
70 2 6
get_payment_mode_fields()
S
60 1 14
process_payment()
S
62 1 11
generate_account_configuration_html()
S
81 1 3
generate_global_configuration_html()
S
81 1 3
get_form_fields()
S
69 1 7
array_insert_at_position()
S
78 1 3
checkCrypto()
S
79 1 3
showDetails()
S
100 1 0