CardConnectPaymentGateway D

Total Complexity 169
Dependencies 7
Dependents 0
Total lines 1,575
Lines of code 1,016
Logical lines of code 350
Comment lines 316
Methods 32
Properties 19

Methods 32

Method Rating Maintainability Complexity Lines of code
process_payment()
D
27
34 132
generate_settings_html()
B
36 19 74
init_form_fields()
B
24
5 252
bc_validate_checkout_captcha()
A
43 13 43
load_options()
A
46 12 31
payment_fields()
A
41 9 49
__construct()
A
42 7 52
admin_options()
A
40 4 88
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
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