WC_Stripe_UPE_Payment_Method C

Total Complexity 107
Dependencies 11
Dependents 2
Total lines 685
Lines of code 284
Logical lines of code 162
Comment lines 310
Methods 38
Properties 12

Methods 38

Method Rating Maintainability Complexity Lines of code
is_enabled_at_checkout()
B
44 21 39
payment_fields()
A
47 11 35
is_inside_currency_limits()
A
53 8 21
get_subtext_messages()
S
55 6 18
is_capability_active()
S
62 4 11
__construct()
S
62 4 9
get_current_order_amount()
S
64 4 9
is_available()
S
70 4 6
save_payment_method_checkbox()
S
60 3 13
get_capabilities_response()
S
68 3 7
__call()
S
63 3 9
get_available_billing_countries()
S
71 3 5
get_description()
S
73 2 4
get_icon()
S
73 2 4
get_title()
S
73 2 4
is_allowed_on_country()
S
71 2 6
process_refund()
S
70 2 6
get_retrievable_type()
S
79 2 3
should_show_save_option()
S
79 2 3
create_payment_token_for_user()
S
63 1 11
is_available_for_account_country()
S
82 1 3
get_limits_per_currency()
S
82 1 3
get_option_key()
S
82 1 3
is_saved_cards_enabled()
S
79 1 3
add_payment_method()
S
76 1 4
has_domestic_transactions_restrictions()
S
82 1 3
process_payment()
S
80 1 3
get_testing_instructions()
S
82 1 3
can_refund_via_stripe()
S
82 1 3
requires_automatic_capture()
S
82 1 3
get_woocommerce_currency()
S
81 1 3
get_supported_currencies()
S
71 1 6
update_payment_token()
S
74 1 5
is_reusable()
S
82 1 3
get_label()
S
82 1 3
is_enabled()
S
80 1 3
get_id()
S
82 1 3
get_transaction_url()
S
75 1 4