WC_Gateway_Braintree_Credit_Card B

Total Complexity 82
Dependencies 11
Dependents 0
Total lines 962
Lines of code 393
Logical lines of code 135
Comment lines 360
Methods 35
Properties 7

Methods 35

Method Rating Maintainability Complexity Lines of code
validate_fields()
A
44 14 43
get_order()
A
58 9 13
render_fraud_js()
S
49 4 46
enqueue_gateway_assets()
S
58 5 14
add_payment_gateway_transaction_data()
S
64 5 9
is_3d_secure_available()
S
59 4 14
do_credit_card_transaction()
S
59 4 13
get_add_payment_method_payment_gateway_transaction_data()
S
63 4 11
get_method_form_fields()
S
49 2 31
__construct()
S
47 1 42
get_3d_secure_fields()
S
47 1 36
get_3d_secure_data_for_token()
S
59 2 14
admin_options()
S
57 1 26
is_kount_direct_enabled()
S
79 2 3
adjust_fraud_script_tag()
S
70 2 6
is_advanced_fraud_tool_enabled()
S
78 2 3
maybe_void_instead_of_refund()
S
77 2 3
is_3d_secure_enabled()
S
78 1 3
validate_credit_card_fields()
S
80 1 3
get_3d_secure_nonce_for_token()
S
75 1 4
get_3d_secure_card_types()
S
80 1 3
card_type_supports_3d_secure()
S
77 1 3
is_3d_secure_liability_shift_always_required()
S
77 1 3
get_3d_secure_mode()
S
82 1 3
is_3d_secure_strict()
S
79 1 3
get_payment_form_js_localized_script_params()
S
69 1 6
get_order_for_apple_pay()
S
72 1 5
is_kount_supported()
S
81 1 3
get_kount_merchant_id()
S
82 1 3
validate_csc()
S
80 1 3
is_csc_required()
S
80 1 3
get_fraud_tool()
S
82 1 3
add_csc_form_fields()
S
65 1 9
init_payment_form_instance()
S
80 1 3
csc_enabled()
S
81 1 3