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 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_where_sql() | 37 | 20 | 67 | |
get_query_clauses() | 48 | 9 | 35 | |
mark_all_for_user() | 55 | 5 | 21 | |
get_order_by_sql() | 57 | 5 | 16 | |
get() | 45 | 3 | 41 | |
save() | 51 | 4 | 26 | |
mark_all_by_type() | 57 | 4 | 18 | |
mark_all_from_user() | 57 | 4 | 18 | |
populate() | 58 | 3 | 14 | |
get_paged_sql() | 61 | 3 | 11 | |
get_date_query_sql() | 67 | 3 | 7 | |
get_current_notifications_for_user() | 58 | 2 | 15 | |
get_meta_query_sql() | 58 | 2 | 15 | |
get_total_count() | 53 | 1 | 22 | |
parse_args() | 56 | 1 | 19 | |
__construct() | 71 | 2 | 6 | |
get_grouped_notifications_for_user() | 58 | 1 | 15 | |
update() | 63 | 1 | 11 | |
delete() | 71 | 1 | 5 | |
delete_by_id() | 73 | 1 | 5 | |
get_all_for_user() | 70 | 1 | 6 | |
get_unread_for_user() | 71 | 1 | 6 | |
get_read_for_user() | 71 | 1 | 6 | |
check_access() | 66 | 1 | 8 | |
_delete() | 75 | 1 | 4 | |
_update() | 74 | 1 | 4 | |
_insert() | 75 | 1 | 4 |