Yoast_Notification_Center C

Total Complexity 105
Dependencies 4
Dependents 15
Total lines 900
Lines of code 375
Logical lines of code 224
Comment lines 353
Methods 41
Properties 7

Methods 41

Method Rating Maintainability Complexity Lines of code
remove_notification()
A
49 8 31
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
clear_dismissal()
S
58 5 15
ajax_dismiss_notification()
S
56 4 19
retrieve_notifications_from_storage()
S
59 4 15
array_to_notification()
S
60 4 14
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
get_user_input()
S
65 3 8
get_user_id()
S
72 2 6
get_notifications_for_user()
S
71 2 6
get_notifications()
S
71 2 6
get()
S
71 2 6
split_on_user_id()
S
69 2 7
queue_transaction()
S
69 2 7
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
filter_notification_current_user()
S
81 1 3
has_stored_notifications()
S
76 1 4
__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
ajax_get_notifications()
S
72 1 5
get_resolved_notification_count()
S
82 1 3
dismiss_notification()
S
77 1 3
get_stored_notifications()
S
79 1 3