WLFMC_Customer C

Total Complexity 103
Dependencies 3
Dependents 5
Total lines 754
Lines of code 299
Logical lines of code 142
Comment lines 354
Methods 52
Properties 3

Methods 52

Method Rating Maintainability Complexity Lines of code
is_current_user_owner()
A
59 9 14
__construct()
A
47 7 36
map_legacy_offsets()
S
58 6 16
add_int_to_string()
S
60 5 12
save()
S
63 3 11
get_expiration_formatted()
S
67 3 8
get_unsubscribe_expiration()
S
68 3 7
offsetUnset()
S
66 3 9
offsetSet()
S
65 3 9
get_expiration()
S
68 3 7
get_date_added_formatted()
S
67 3 8
get_date_added()
S
68 3 7
get_notes()
S
66 3 8
get_customer_meta()
S
66 3 8
set_user_id()
S
69 2 7
set_email_verified()
S
71 2 6
set_customer_meta()
S
78 2 3
set_notes()
S
78 2 3
set_phone_verified()
S
71 2 6
set_unsubscribed()
S
69 2 7
offsetExists()
S
67 2 8
offsetGet()
S
67 2 8
set_email()
S
80 1 3
set_date_added()
S
80 1 3
set_expiration()
S
80 1 3
set_unsubscribe_expiration()
S
80 1 3
set_phone()
S
80 1 3
set_last_name()
S
80 1 3
set_first_name()
S
80 1 3
set_session_id()
S
80 1 3
has_owner()
S
80 1 3
set_token()
S
80 1 3
set_lang()
S
80 1 3
get_lang()
S
79 1 3
is_phone_verified()
S
79 1 3
is_unsubscribed()
S
79 1 3
is_gdpr_pending()
S
78 1 3
get_gdpr_status()
S
79 1 3
get_token()
S
82 1 3
get_unsubscribe_token()
S
79 1 3
get_order_customer_id()
S
79 1 3
get_user_id()
S
79 1 3
set_order_customer_id()
S
75 1 4
get_session_id()
S
79 1 3
get_first_name()
S
78 1 3
get_last_name()
S
78 1 3
get_email()
S
79 1 3
get_phone()
S
79 1 3
is_session_based()
S
80 1 3
is_email_verified()
S
79 1 3
set_unsubscribe_token()
S
80 1 3
set_gdpr_status()
S
79 1 3