WC_Stripe_Helper A

Total Complexity 72
Dependencies 1
Dependents 18
Total lines 503
Lines of code 250
Logical lines of code 131
Comment lines 193
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
get_minimum_amount()
A
48 14 35
get_supported_card_brands()
A
55 10 18
format_balance_fee()
S
58 5 15
get_stripe_fee()
S
61 4 13
get_stripe_net()
S
61 4 13
get_settings()
S
66 4 7
get_localized_messages()
S
50 2 27
get_order_by_charge_id()
S
62 3 11
get_stripe_amount()
S
63 3 10
no_decimal_currencies()
S
57 1 20
get_order_by_setup_intent_id()
S
65 2 8
get_order_by_intent_id()
S
65 2 8
get_order_by_source_id()
S
65 2 8
get_stripe_currency()
S
70 2 6
update_stripe_currency()
S
70 2 6
delete_stripe_net()
S
66 2 8
update_stripe_net()
S
70 2 6
delete_stripe_fee()
S
66 2 8
update_stripe_fee()
S
70 2 6
is_pre_orders_exists()
S
80 1 3
is_wc_lt()
S
78 1 3
get_webhook_url()
S
78 1 3
clean_statement_descriptor()
S
64 1 8