WC_Stripe_Customer_Manager A

Total Complexity 58
Dependencies 7
Dependents 5
Total lines 347
Lines of code 225
Logical lines of code 106
Comment lines 90
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
sync_payment_methods()
A
43 14 46
handle_before_process_payment()
A
48 9 32
wp_loaded()
A
55 8 20
user_has_id()
S
55 5 21
get_customer_id_from_user_id()
S
63 5 10
checkout_update_customer()
S
64 4 10
get_customer_args()
S
53 2 23
get_customer_args_from_order()
S
56 1 18
instance()
S
71 2 6
should_update_customer()
S
68 2 7
get_attribute_keys()
S
63 1 12
__construct()
S
72 1 5
should_create_when_account_exists()
S
79 1 3
should_create_when_payment()
S
79 1 3
create_customer()
S
78 1 3
update_customer()
S
70 1 6