NMI_Gateway_Woocommerce_Base C

Total Complexity 118
Dependencies 12
Dependents 0
Total lines 937
Lines of code 486
Logical lines of code 196
Comment lines 296
Methods 37
Properties 11

Methods 37

Method Rating Maintainability Complexity Lines of code
mark_order_as_failed()
A
47 12 32
maybe_record_token_failure_in_usermata()
A
52 12 20
add_debug_message()
A
57 9 15
should_force_tokenize()
S
60 8 12
is_available()
S
60 7 14
form()
S
46 4 38
generate_radio_html()
S
47 4 37
enqueue_gateway_assets()
S
60 5 11
get_method_form_fields()
S
41 1 70
get_customer_id()
S
56 4 17
maybe_add_avs_result_to_order_note()
S
61 4 11
get_decoded_avs_message()
S
48 2 33
has_authorization_expired()
S
63 4 10
is_payment_form_page()
S
77 4 3
get_api()
S
55 2 20
xl_nmi_collect_js_form()
S
54 1 31
save_payment_method_checkbox()
S
64 3 9
get_gateway_password()
S
70 3 6
get_gateway_username()
S
70 3 6
add_environment_form_fields()
S
55 1 21
get_public_key()
S
79 2 3
add_public_key_to_js()
S
68 2 7
is_test_environment()
S
71 2 6
get_guest_customer_id()
S
71 2 6
authorization_valid_for_capture()
S
69 2 6
get_order_for_refund()
S
68 2 7
get_private_key()
S
79 2 3
get_payment_api_method()
S
79 2 3
supports_feature_my_payment_methods()
S
80 1 3
validate_payment_nonce()
S
82 1 3
log_api_request()
S
91 1 2
get_nmi_gateway_woocommerce_environments()
S
70 1 6
tokenize_with_sale()
S
82 1 3
build_payment_tokens_handler()
S
80 1 3
field_name()
S
78 1 3
supports_credit_card_charge_virtual()
S
80 1 3
load_settings()
S
81 1 3