WC_Taxjar_Customer_Sync S

Total Complexity 47
Dependencies 2
Dependents 2
Total lines 352
Lines of code 234
Logical lines of code 104
Comment lines 84
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
add_customer_meta_fields()
B
41 16 54
_log()
S
60 5 13
maybe_delete_customer()
S
61 4 12
get_all_exempt_regions()
S
42 1 54
maybe_sync_customer_on_update()
S
61 3 12
init()
S
62 3 10
save_customer_meta_fields()
S
64 3 9
get_customer_meta_fields()
S
52 1 27
has_exemption_type_changed()
S
67 2 8
have_exempt_regions_changed()
S
67 2 8
get_posted_exempt_regions()
S
68 2 7
__construct()
S
77 1 4
get_posted_exemption_type()
S
79 1 3
get_saved_exemption_type()
S
78 1 3
get_saved_exempt_regions()
S
78 1 3
get_customer_exemption_types()
S
68 1 7