BWFCRM_Model_Contact D

Total Complexity 427
Dependencies 20
Dependents 7
Total lines 1,711
Lines of code 1,229
Logical lines of code 869
Comment lines 203
Methods 43
Properties 5

Methods 43

Method Rating Maintainability Complexity Lines of code
_get_contacts_sql()
D
21
78 120
prepared_data()
D
24
51 143
get_columns_for_query()
D
33 32 85
_set_date_filter_sql()
C
37 24 66
_set_string_filter_sql()
B
37 22 74
get_column_preferences_query()
B
43 23 38
_get_filters_sql()
B
42 21 50
_set_number_filter_sql()
B
40 20 59
get_contacts()
A
41 15 51
_set_json_array_filter_sql()
A
46 13 34
_get_unsubscribers_query()
A
49 12 27
delete_contact()
A
42 8 52
get_contact_aov()
A
49 9 33
_set_currency_filter_sql()
A
48 8 33
_set_date_relative_filter_sql()
A
45 7 41
_set_bool_filter_sql()
S
52 7 24
get_modified_status_query()
S
50 6 29
get_recent_abandoned()
S
52 5 22
maybe_set_cache_contact_row()
S
63 6 10
delete_notes()
S
56 4 19
get_checkout_details()
S
62 5 9
delete_multiple_contacts()
S
60 4 13
get_formatted_date()
S
61 4 11
log()
S
61 4 11
get_contact_listing()
S
54 3 20
get_bump_details()
S
55 3 19
get_upstroke_details()
S
55 3 19
get_automations()
S
61 3 12
_get_contact_fields_columns_sql()
S
60 3 12
is_contact_unsubscribed()
S
65 3 9
get_optin_details()
S
62 3 10
get_formatted_time()
S
69 3 6
_set_custom_filter_sql()
S
63 2 10
get_contact_id()
S
68 2 6
set_log()
S
65 2 9
get_first_contact_id()
S
68 2 6
save_last_modified()
S
73 1 4
get_recent_contacts()
S
65 1 9
_set_string_exact_filter_sql()
S
79 1 3
_set_number_exact_filter_sql()
S
79 1 3
get_recent_unsubscribers()
S
66 1 8
get_last_contact_id()
S
70 1 6
_table()
S
76 1 4