WC_Etransactions_Abstract_Gateway D

Total Complexity 249
Dependencies 10
Dependents 0
Total lines 1,782
Lines of code 1,191
Logical lines of code 600
Comment lines 336
Methods 53
Properties 4

Methods 53

Method Rating Maintainability Complexity Lines of code
addPaymentInfosAndChangeOrderStatus()
B
37 17 77
getGlobalConfigurationFields()
A
32 10 118
__construct()
A
43 15 41
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
54 5 20
initHooksAndFilters()
S
53 4 21
on_payment_succeed()
S
54 3 21
saveCardTokenAfterPayment()
S
63 4 10
saveAllowTokenInformation()
S
63 4 9
payment_fields()
S
64 4 10
on_ipn()
S
58 3 15
on_payment_failed()
S
58 3 15
on_payment_canceled()
S
59 3 14
onTokenizationIpn()
S
59 3 14
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
receipt_page()
S
58 2 14
getCardsConfigurationFields()
S
61 2 13
onTokenizationSucceed()
S
59 2 13
onTokenizationFailed()
S
60 2 12
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