Yoast_Notification_Center C

Total Complexity 117
Dependencies 3
Dependents 16
Total lines 942
Lines of code 393
Logical lines of code 236
Comment lines 333
Methods 41
Properties 7

Methods 41

Method Rating Maintainability Complexity Lines of code
remove_notification()
A
49 8 31
ajax_dismiss_notification()
A
52 8 25
get_user_input()
S
60 8 12
maybe_dismiss_notification()
S
52 7 25
add_notification()
S
53 6 23
display_notifications()
S
54 6 23
update_storage()
S
55 5 20
array_to_notification()
S
56 5 19
clear_dismissal()
S
58 5 15
retrieve_notifications_from_storage()
S
59 4 15
sort_notifications()
S
60 4 14
is_notification_dismissed()
S
62 4 11
get_notification_by_id()
S
64 3 10
restore_notification()
S
65 3 9
ajax_get_notifications()
S
66 3 8
get()
S
71 2 6
get_notifications_for_user()
S
71 2 6
get_notifications()
S
71 2 6
queue_transaction()
S
69 2 7
split_on_user_id()
S
69 2 7
get_user_id()
S
72 2 6
get_sorted_notifications()
S
67 2 8
notification_to_array()
S
69 2 7
get_notification_count()
S
66 2 8
remove_notification_by_id()
S
67 2 8
setup_current_notifications()
S
67 2 8
remove_storage()
S
69 2 7
add_transaction_to_queue()
S
79 1 3
is_notification_persistent()
S
80 1 3
has_stored_notifications()
S
76 1 4
filter_notification_current_user()
S
81 1 3
__construct()
S
67 1 7
filter_dismissed_notifications()
S
79 1 3
filter_persistent_notifications()
S
81 1 3
clear_notifications()
S
77 1 4
get_new_notifications()
S
78 1 3
store_notifications_for_user()
S
74 1 4
deactivate_hook()
S
82 1 3
get_resolved_notification_count()
S
82 1 3
dismiss_notification()
S
77 1 3
get_stored_notifications()
S
79 1 3