BP_Notifications_Notification B

Total Complexity 82
Dependencies 2
Dependents 26
Total lines 1,163
Lines of code 425
Logical lines of code 229
Comment lines 573
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
get_where_sql()
B
37 20 67
get_query_clauses()
A
48 9 35
mark_all_for_user()
S
55 5 21
get_order_by_sql()
S
57 5 16
get()
S
45 3 41
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_date_query_sql()
S
67 3 7
get_current_notifications_for_user()
S
58 2 15
get_meta_query_sql()
S
58 2 15
get_total_count()
S
53 1 22
parse_args()
S
56 1 19
__construct()
S
71 2 6
get_grouped_notifications_for_user()
S
58 1 15
update()
S
63 1 11
delete()
S
71 1 5
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