NMI_Gateway_Woocommerce_Credit_Card B

Total Complexity 97
Dependencies 15
Dependents 1
Total lines 878
Lines of code 535
Logical lines of code 211
Comment lines 212
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
do_credit_card_transaction()
C
38 28 52
__construct()
A
26
4 197
payment_fields()
A
46 13 36
nmi_gateway_woocommerce_admin_notices()
A
50 10 28
do_credit_card_capture()
S
46 5 38
get_tokens()
S
59 6 14
admin_options()
S
46 2 63
add_tokenization_form_fields()
S
50 3 28
xl_wc_nmi_localize_collect_js_params()
S
66 4 7
add_card_id_in_order_from_token()
S
58 3 14
get_payment_processor()
S
77 3 3
add_payment_gateway_transaction_data()
S
70 3 6
add_csc_form_fields()
S
62 2 11
validate_credit_card_fields()
S
80 1 3
validate_csc()
S
80 1 3
get_default_title()
S
79 1 3
is_csc_required()
S
82 1 3
get_default_description()
S
79 1 3
csc_enabled()
S
81 1 3
perform_credit_card_charge()
S
79 1 3
nmi_actions_filter()
S
75 1 4
nmi_gateway_woocommerce_add_csc_with_saved_token_methods()
S
66 1 7
nmi_gateway_woocommerce_remove_payment_methods()
S
82 1 3
maybe_void_instead_of_refund()
S
81 1 3