WC_Stripe_UPE_Payment_Method B

Total Complexity 100
Dependencies 8
Dependents 2
Total lines 642
Lines of code 261
Logical lines of code 145
Comment lines 291
Methods 36
Properties 12

Methods 36

Method Rating Maintainability Complexity Lines of code
is_enabled_at_checkout()
B
48 17 31
payment_fields()
A
49 10 31
is_inside_currency_limits()
A
53 8 21
get_subtext_messages()
S
55 6 18
is_capability_active()
S
59 5 13
__construct()
S
63 5 8
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_icon()
S
73 2 4
process_refund()
S
70 2 6
is_allowed_on_country()
S
71 2 6
get_retrievable_type()
S
79 2 3
should_show_save_option()
S
79 2 3
get_id()
S
82 1 3
is_enabled()
S
80 1 3
get_limits_per_currency()
S
82 1 3
is_saved_cards_enabled()
S
79 1 3
get_title()
S
82 1 3
get_option_key()
S
82 1 3
is_available_for_account_country()
S
82 1 3
add_payment_method()
S
76 1 4
can_refund_via_stripe()
S
82 1 3
process_payment()
S
80 1 3
get_testing_instructions()
S
82 1 3
get_label()
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
get_description()
S
82 1 3
is_reusable()
S
82 1 3
has_domestic_transactions_restrictions()
S
82 1 3