WC_Stripe_Payment_Tokens B

Total Complexity 96
Dependencies 18
Dependents 3
Total lines 604
Lines of code 345
Logical lines of code 220
Comment lines 174
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
woocommerce_get_customer_upe_payment_tokens()
B
37 22 72
woocommerce_get_customer_payment_tokens_legacy()
B
38 18 72
update_token_from_method_details()
S
51 7 28
get_token_from_request()
S
57 7 15
add_token_to_user()
S
48 5 34
woocommerce_payment_token_set_default()
S
56 6 17
woocommerce_payment_token_deleted()
S
57 6 16
customer_has_saved_methods()
S
59 4 15
get_original_payment_method_type()
S
64 4 11
get_token_label_overrides_for_checkout()
S
61 3 13
get_account_saved_payment_methods_list_item()
S
62 3 10
get_payment_method_type_from_token()
S
65 3 10
normalize_sepa_label()
S
71 2 6
woocommerce_get_customer_payment_tokens()
S
69 2 7
__construct()
S
65 1 8
is_valid_payment_method_type_for_gateway()
S
75 1 4
get_instance()
S
80 1 3
get_account_saved_payment_methods_list_item_sepa()
S
75 1 4