CardConnectPaymentGateway D

Total Complexity 224
Dependencies 7
Dependents 0
Total lines 2,213
Lines of code 1,601
Logical lines of code 506
Comment lines 330
Methods 44
Properties 19

Methods 44

Method Rating Maintainability Complexity Lines of code
process_payment()
D
25
38 149
init_form_fields()
B
22
6 305
generate_settings_html()
B
36 19 75
bc_validate_checkout_captcha()
A
42 16 45
generate_multiselect_html()
A
38 10 80
bc_validate_timings()
A
45 12 41
load_options()
A
46 12 31
allowed_html()
A
32 2 162
__construct()
A
40 8 64
payment_fields()
A
41 9 49
admin_options()
A
38 4 103
handleAuthorizationResponse_custom()
A
47 8 40
get_user_defined_form_fields()
S
53 7 22
get_cc_client()
S
66 8 7
allowed_admin_panel_html()
S
40 1 88
handleVerificationError()
S
50 5 27
get_custom_fields_mapping_options()
S
55 5 18
getCardConnectCurrencyCode()
S
42 2 59
verify_customer_data()
S
60 5 13
_get_ip_address()
S
60 4 13
start_custom_sessions()
S
63 4 12
process_refund()
S
50 3 26
get_card_alias()
S
62 3 11
handleAuthorizationResponse_Declined()
S
61 2 11
handleAuthorizationResponse_Retry()
S
61 2 11
admin_settings_css()
S
61 1 23
get_checkout_form_data()
S
58 1 15
get_profile_id()
S
75 2 4
get_token()
S
74 2 4
get_store_new_card()
S
74 2 4
get_card_name()
S
74 2 4
get_saved_card_id()
S
74 2 4
get_expiry()
S
73 2 4
get_cvv2()
S
74 2 4
handleCheckoutFormDataError()
S
65 2 9
handleNoCardConnectConnection()
S
64 2 10
handleAuthorizationResponse_NoResponse()
S
63 2 10
reset_user_session()
S
80 1 3
set_hammerSession()
S
65 1 9
set_30session()
S
63 1 10
set_userSessionTag()
S
76 1 4
get_order_total_formatted()
S
70 1 6
handleAuthorizationResponse_DefaultError()
S
68 1 7
register_scripts()
S
71 1 5