BP_Notifications_Notification C

Total Complexity 101
Dependencies 2
Dependents 33
Total lines 1,336
Lines of code 512
Logical lines of code 293
Comment lines 620
Methods 29
Properties 9

Methods 29

Method Rating Maintainability Complexity Lines of code
get_where_sql()
B
37 20 67
update_id_list()
A
44 10 40
get_query_clauses()
A
48 9 35
delete_by_id_list()
A
48 7 31
get_order_by_sql()
S
52 7 24
get()
S
44 5 45
mark_all_for_user()
S
55 5 21
save()
S
51 4 26
mark_all_by_type()
S
57 4 18
mark_all_from_user()
S
57 4 18
populate()
S
58 3 14
get_paged_sql()
S
61 3 11
get_current_notifications_for_user()
S
56 2 18
get_meta_query_sql()
S
57 2 17
parse_args()
S
55 1 22
get_total_count()
S
53 1 22
__construct()
S
71 2 6
get_grouped_notifications_for_user()
S
58 1 15
update()
S
63 1 11
delete()
S
71 1 5
get_date_query_sql()
S
79 1 3
delete_by_id()
S
73 1 5
get_all_for_user()
S
70 1 6
get_unread_for_user()
S
71 1 6
get_read_for_user()
S
71 1 6
check_access()
S
66 1 8
_delete()
S
75 1 4
_update()
S
74 1 4
_insert()
S
75 1 4