CardConnectPaymentGateway D

Total Complexity 160
Dependencies 7
Dependents 0
Total lines 1,527
Lines of code 978
Logical lines of code 320
Comment lines 309
Methods 32
Properties 19

Methods 32

Method Rating Maintainability Complexity Lines of code
process_payment()
D
28
34 120
init_form_fields()
B
24
5 252
generate_settings_html()
A
39 14 62
load_options()
A
46 12 31
bc_validate_checkout_captcha()
A
46 11 34
payment_fields()
A
41 9 49
admin_options()
A
40 4 88
get_user_defined_form_fields()
S
53 7 22
__construct()
S
44 5 47
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
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
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
get_order_total_formatted()
S
70 1 6
handleAuthorizationResponse_DefaultError()
S
68 1 7
register_scripts()
S
71 1 5