WC_Stripe_Customer A

Total Complexity 66
Dependencies 6
Dependents 15
Total lines 477
Lines of code 252
Logical lines of code 146
Comment lines 149
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
add_source()
A
44 10 45
generate_customer_request()
A
46 9 38
attach_source()
S
52 6 25
get_sources()
S
53 6 23
update_customer()
S
55 5 19
create_customer()
S
58 3 15
delete_source()
S
61 3 12
is_source_already_attached_error()
S
69 3 7
set_id()
S
68 3 7
set_default_source()
S
59 2 15
is_no_such_customer_error()
S
69 3 7
__construct()
S
72 2 6
get_user()
S
78 2 3
get_id()
S
82 1 3
set_customer_data()
S
81 1 3
set_user_id()
S
80 1 3
get_user_id()
S
80 1 3
clear_cache()
S
73 1 5
get_id_from_meta()
S
79 1 3
update_id_in_meta()
S
78 1 3
delete_id_from_meta()
S
79 1 3
recreate_customer()
S
77 1 4