WC_Emerchantpay_Method_Base D

Total Complexity 362
Dependencies 39
Dependents 6
Total lines 3,833
Lines of code 2,414
Logical lines of code 720
Comment lines 875
Methods 110
Properties 3

Methods 110

Method Rating Maintainability Complexity Lines of code
build_business_attributes_form_fields()
C
19
1 470
do_refund()
C
30 21 131
update_order_status()
B
37 19 77
update_order_status_refunded()
B
35 18 89
capture()
B
37 14 79
void()
A
37 13 76
append_to_url()
A
49 10 31
add_3dsv2_parameters_to_gateway_request()
A
42 8 59
process_capture()
A
41 7 59
get_is_woocommerce_admin_settings()
A
59 10 12
admin_notices_api_credentials()
A
52 9 26
refund()
A
46 8 39
handle_return()
A
46 8 39
save_approved_order_meta_data()
S
49 7 30
handle_notification()
S
50 7 30
display_transactions_list_for_order()
S
46 6 40
is_available()
S
56 7 20
add_wp_simple_actions()
S
60 7 12
admin_notices_subscriptions()
S
57 6 18
should_show_admin_notices()
S
58 6 17
get_capture_trx_type()
S
58 6 15
process_subscription_payment()
S
46 4 44
enqueue_transactions_list_assets()
S
42 2 73
init_form_fields()
S
39 1 82
add_business_data_to_gateway_request()
S
54 5 21
register_admin_actions()
S
51 4 36
__construct()
S
48 4 35
supports()
S
63 5 11
admin_notices_genesis_requirements()
S
56 4 22
populate_gate_request_data()
S
49 3 32
get_products_custom_attributes()
S
58 4 16
process_after_init_recurring_payment()
S
58 4 16
add_subscription_support()
S
55 3 25
display_admin_order_after_totals()
S
54 3 24
build_redirect_form_fields()
S
49 2 35
get_item_description()
S
56 3 20
generate_transaction_id()
S
56 3 17
get_is_woocommerce_admin_order()
S
66 4 7
get_is_settings_checkout_page()
S
73 4 4
meet_subscription_requirements()
S
66 4 9
get_business_attributes_setting_keys()
S
53 1 39
cancel_order_subscriptions()
S
58 2 17
get_trx_id()
S
67 3 8
is_shipping_address_missing()
S
73 3 5
get_order_shipping_address()
S
58 2 15
get_business_attributes_mapping()
S
64 3 10
get_method_transaction_setting_key()
S
65 3 10
get_is_settings_checkout_module_page()
S
69 3 6
update_order_status_approved()
S
59 2 14
build_subscription_form_fields()
S
52 1 28
build_3dsv2_attributes_form_fields()
S
52 1 27
create_response()
S
63 2 11
add_wp_action()
S
64 2 11
build_sca_exemption_options_form_fields()
S
53 1 25
registerStaticActions()
S
57 1 23
process_payment()
S
71 2 6
get_refund_trx_type()
S
68 2 7
is_iframe_blocks()
S
73 2 4
build_iframe_url()
S
70 2 6
update_order_status_cancelled()
S
71 2 5
allow_partial_capture()
S
78 2 3
add_sca_exemption_parameters()
S
67 2 8
get_trx_list()
S
69 2 7
allow_partial_refund()
S
78 2 3
admin_notices()
S
67 2 9
set_credentials()
S
68 2 7
get_cart()
S
69 2 7
get_post_bool_setting_value()
S
74 2 4
enqueue_woocommerce_payment_settings_assets()
S
63 1 13
admin_options()
S
65 1 13
get_order_billing_address()
S
61 1 12
get_translated_recurring_trx_types()
S
65 1 11
process_refund()
S
78 1 3
get_sca_exemption_values()
S
71 1 6
get_translated_text()
S
79 1 3
get_available_redirect_pages()
S
72 1 6
is_3dsv2_enabled()
S
80 1 3
fetch_template()
S
73 1 4
get_allowed_challenge_indicators()
S
67 1 8
get_method_admin_setting_post_param_name()
S
71 1 7
get_method_selected_transaction_types()
S
80 1 3
can_void()
S
69 1 7
get_is_valid_notification()
S
79 1 3
get_frame_handler()
S
80 1 3
get_required_api_setting_keys()
S
73 1 6
set_notification_terminal_token()
S
82 1 3
init_recurring_token()
S
75 1 5
process_init_subscription_payment()
S
100 1 0
process_order_payment()
S
100 1 0
can_capture()
S
73 1 5
can_refund()
S
73 1 5
process_scheduled_subscription_payment()
S
73 1 5
is_iframe_enabled()
S
82 1 3
set_terminal_token()
S
82 1 3
update_order_status_declined()
S
75 1 4
update_order_status_error()
S
75 1 4
get_checkout_transaction_id_meta_key()
S
100 1 0
get_one_time_token()
S
73 1 6
set_one_time_token()
S
79 1 3
process_init_recurring_reconciliation()
S
79 1 3
get_method_bool_setting()
S
79 1 3
is_applicable()
S
80 1 3
callback_handler()
S
70 1 7
get_method_setting()
S
80 1 3
get_method_has_setting()
S
79 1 3
is_subscription_enabled()
S
80 1 3
get_recurring_token()
S
80 1 3
get_method_code()
S
81 1 3
is_ssl_required()
S
82 1 3
get_module_title()
S
100 1 0