CardConnectPaymentGateway D

Total Complexity 197
Dependencies 7
Dependents 0
Total lines 1,885
Lines of code 1,292
Logical lines of code 447
Comment lines 326
Methods 37
Properties 19

Methods 37

Method Rating Maintainability Complexity Lines of code
process_payment()
D
25
38 147
init_form_fields()
B
22
6 305
generate_settings_html()
B
36 19 74
bc_validate_checkout_captcha()
A
43 13 42
__construct()
A
39 10 66
load_options()
A
46 12 31
generate_multiselect_html()
A
36 6 103
payment_fields()
A
41 9 49
admin_options()
A
39 4 101
handleAuthorizationResponse_custom()
A
47 8 40
get_user_defined_form_fields()
S
53 7 22
get_cc_client()
S
66 8 7
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
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
bc_validate_hammering()
S
83 1 3
get_order_total_formatted()
S
70 1 6
handleAuthorizationResponse_DefaultError()
S
68 1 7
register_scripts()
S
71 1 5