WC_Payments_Utils D

Total Complexity 149
Dependencies 11
Dependents 36
Total lines 1,082
Lines of code 589
Logical lines of code 268
Comment lines 440
Methods 43
Properties 0

Methods 43

Method Rating Maintainability Complexity Lines of code
get_dispute_reason_description()
A
48 15 33
get_filtered_error_message()
A
48 14 28
esc_interpolated_html()
A
43 11 48
get_charge_ids_from_search_term()
A
51 8 26
get_currency_format_for_wc_price()
S
53 6 23
redact_array()
S
54 6 20
convert_to_stripe_locale()
S
44 3 51
get_woocommerce_price_format()
S
60 5 15
interpret_string_exchange_rate()
S
62 5 11
compose_transaction_url()
S
56 4 19
is_payments_settings_page()
S
65 5 9
get_last_refund_from_order_id()
S
58 4 15
map_search_orders_to_charge_ids()
S
60 4 14
convert_to_server_locale()
S
51 3 29
format_explicit_currency()
S
58 3 15
supported_countries()
S
44 1 43
array_map_recursive()
S
62 3 11
get_language_data()
S
58 2 16
should_use_new_onboarding_flow()
S
71 3 6
is_order_locked()
S
69 3 6
get_filtered_error_status_code()
S
64 3 10
is_cart_block()
S
77 3 3
encrypt_client_secret()
S
62 2 12
zero_decimal_currencies()
S
57 1 19
get_billing_details_from_order()
S
57 1 17
is_cart_page()
S
79 2 3
interpret_stripe_amount()
S
68 2 7
is_zero_decimal_currency()
S
70 2 6
enqueue_style()
S
69 2 6
register_style()
S
69 2 6
get_wpcore_request_class()
S
72 2 5
is_hpos_tables_usage_enabled()
S
77 2 3
get_cached_minimum_amount()
S
74 2 4
is_valid_us_zip_code()
S
77 2 3
prepare_amount()
S
68 2 7
get_order_intent_currency()
S
69 2 7
get_transaction_url_id()
S
78 2 3
lock_order_payment()
S
71 2 5
format_currency()
S
63 1 12
force_disconnected_enabled()
S
78 1 3
set_order_intent_currency()
S
79 1 3
cache_minimum_amount()
S
78 1 3
unlock_order_payment()
S
75 1 4