WC_Stripe_UPE_Payment_Method C

Total Complexity 104
Dependencies 8
Dependents 2
Total lines 661
Lines of code 271
Logical lines of code 153
Comment lines 302
Methods 37
Properties 12

Methods 37

Method Rating Maintainability Complexity Lines of code
is_enabled_at_checkout()
B
48 17 31
payment_fields()
A
48 11 34
is_inside_currency_limits()
A
53 8 21
get_subtext_messages()
S
55 6 18
is_capability_active()
S
59 5 13
__construct()
S
62 5 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
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
create_payment_token_for_user()
S
64 1 10
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