WC_Stripe_Helper C

Total Complexity 120
Dependencies 3
Dependents 23
Total lines 861
Lines of code 467
Logical lines of code 201
Comment lines 342
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
get_minimum_amount()
A
48 14 35
convert_wc_locale_to_stripe_locale()
S
42 4 61
get_order_by_charge_id()
S
53 6 21
get_order_by_refund_id()
S
53 5 23
get_order_by_source_id()
S
53 5 23
get_order_by_setup_intent_id()
S
53 5 23
get_order_by_intent_id()
S
53 5 23
format_balance_fee()
S
58 5 15
get_dynamic_statement_descriptor()
S
59 5 13
should_enqueue_in_current_tab_section()
S
64 5 10
is_card_payment_method()
S
65 5 9
get_stripe_net()
S
61 4 13
get_stripe_fee()
S
61 4 13
get_localized_messages()
S
48 2 32
should_load_scripts_for_prb_location()
S
67 4 6
get_settings()
S
66 4 7
add_payment_method_to_request_array()
S
66 3 8
is_reusable_payment_method()
S
77 3 3
get_payment_method_from_intent()
S
67 3 9
get_stripe_amount()
S
63 3 10
add_payment_intent_to_order()
S
60 2 14
no_decimal_currencies()
S
57 1 20
update_stripe_currency()
S
70 2 6
has_cart_or_checkout_on_current_page()
S
79 2 3
should_load_scripts_on_product_page()
S
70 2 6
should_load_scripts_on_cart_page()
S
70 2 6
delete_stripe_net()
S
66 2 8
update_stripe_net()
S
70 2 6
is_payment_method_object()
S
78 2 3
delete_stripe_fee()
S
66 2 8
update_stripe_fee()
S
70 2 6
get_stripe_currency()
S
70 2 6
get_webhook_url()
S
69 1 7
is_wc_lt()
S
78 1 3
clean_statement_descriptor()
S
64 1 8