WC_Stripe_Payment_Tokens C

Total Complexity 111
Dependencies 25
Dependents 3
Total lines 711
Lines of code 404
Logical lines of code 253
Comment lines 215
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
woocommerce_get_customer_upe_payment_tokens()
C
36 24 75
woocommerce_get_customer_payment_tokens_legacy()
B
37 18 75
woocommerce_payment_token_deleted()
A
52 9 24
update_token_from_method_details()
S
51 7 28
add_token_to_user()
S
45 6 42
get_token_from_request()
S
57 7 15
woocommerce_payment_token_set_default()
S
56 6 17
get_account_saved_payment_methods_list_item()
S
56 4 18
customer_has_saved_methods()
S
59 4 15
get_original_payment_method_type()
S
64 4 11
get_duplicate_token()
S
59 3 15
get_token_label_overrides_for_checkout()
S
60 3 14
is_valid_payment_method_id()
S
69 3 6
get_payment_method_type_from_token()
S
65 3 10
woocommerce_get_customer_payment_tokens()
S
69 2 7
normalize_sepa_label()
S
71 2 6
woocommerce_payment_token_class()
S
72 2 6
__construct()
S
64 1 9
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