WC_Stripe_UPE_Payment_Method B

Total Complexity 78
Dependencies 7
Dependents 2
Total lines 526
Lines of code 209
Logical lines of code 111
Comment lines 246
Methods 31
Properties 10

Methods 31

Method Rating Maintainability Complexity Lines of code
is_enabled_at_checkout()
A
55 12 19
payment_fields()
A
49 10 31
get_subtext_messages()
S
55 6 18
is_capability_active()
S
59 5 13
__construct()
S
63 5 8
is_available()
S
70 4 6
save_payment_method_checkbox()
S
60 3 13
__call()
S
63 3 9
get_capabilities_response()
S
66 3 8
should_show_save_option()
S
79 2 3
is_allowed_on_country()
S
71 2 6
get_retrievable_type()
S
79 2 3
get_icon()
S
73 2 4
process_refund()
S
70 2 6
get_description()
S
82 1 3
process_payment()
S
80 1 3
is_saved_cards_enabled()
S
79 1 3
get_id()
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
is_enabled()
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
get_title()
S
82 1 3
is_reusable()
S
82 1 3
get_label()
S
82 1 3
create_payment_token_for_user()
S
64 1 10