WC_Payments_Token_Service A

Total Complexity 51
Dependencies 12
Dependents 4
Total lines 371
Lines of code 189
Logical lines of code 126
Comment lines 126
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
woocommerce_get_customer_payment_tokens()
B
42 16 49
woocommerce_payment_token_deleted()
S
56 6 18
add_token_to_user()
S
48 4 36
get_gateway_specific_retrievable_payment_types()
S
60 5 13
get_all_retrievable_payment_types()
S
65 3 10
woocommerce_payment_token_set_default()
S
65 3 9
get_retrievable_payment_method_types()
S
70 2 7
get_account_saved_payment_methods_list_item_sepa()
S
67 2 7
get_account_saved_payment_methods_list_item_link()
S
67 2 7
normalize_sepa_label()
S
70 2 6
normalize_stripe_link_label()
S
71 2 6
__construct()
S
62 1 11
add_payment_method_to_user()
S
75 1 4
is_valid_payment_method_type_for_gateway()
S
79 1 3
is_payment_method_enabled()
S
78 1 3