WC_Stripe_Payment_Tokens B

Total Complexity 100
Dependencies 19
Dependents 3
Total lines 626
Lines of code 357
Logical lines of code 229
Comment lines 183
Methods 19
Properties 1

Methods 19

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
get_account_saved_payment_methods_list_item()
S
58 4 15
customer_has_saved_methods()
S
59 4 15
get_original_payment_method_type()
S
64 4 11
get_token_label_overrides_for_checkout()
S
60 3 14
get_payment_method_type_from_token()
S
65 3 10
is_valid_payment_method_id()
S
69 3 6
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