Remote_Dashboard_Notifications_Client C

Total Complexity 101
Dependencies 2
Dependents 1
Total lines 783
Lines of code 318
Logical lines of code 166
Comment lines 303
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
show_notices()
A
52 10 24
init()
S
55 7 18
remote_get_notification()
S
51 6 23
heartbeat()
S
56 6 18
dismiss()
S
58 6 14
remote_get_notice_ajax()
S
54 5 22
add_notification()
S
56 5 17
is_post_type_restricted()
S
64 6 9
script()
S
52 3 35
get_payload()
S
68 5 6
has_notification_ended()
S
66 4 9
is_notification_started()
S
65 4 9
get_notice_class()
S
62 3 13
get_notification_error_message()
S
66 3 9
instance()
S
68 3 7
is_php_version_enough()
S
66 3 9
is_notice_dismissed()
S
66 3 8
is_version_compatible()
S
66 3 9
get_remote_notification()
S
67 2 7
get_notification()
S
71 2 6
remove_notification()
S
73 2 5
is_notification_error()
S
71 2 6
style()
S
85 1 4
get_notice_dismissal_url()
S
69 1 6
create_admin_notice()
S
71 1 6
get_notifications()
S
82 1 3
get_remote_url()
S
75 1 4
__wakeup()
S
78 1 3
__clone()
S
78 1 3
build_query_url()
S
71 1 6