Remote_Dashboard_Notifications_Client C

Total Complexity 104
Dependencies 2
Dependents 1
Total lines 809
Lines of code 332
Logical lines of code 178
Comment lines 306
Methods 30
Properties 4

Methods 30

Method Rating Maintainability Complexity Lines of code
show_notices()
A
51 11 27
dismiss()
A
52 9 22
remote_get_notification()
S
49 7 27
init()
S
55 7 18
remote_get_notice_ajax()
S
52 6 24
heartbeat()
S
56 6 18
add_notification()
S
56 5 17
is_post_type_restricted()
S
64 6 9
script()
S
52 3 35
has_notification_ended()
S
69 4 6
is_notification_started()
S
69 4 6
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
get_notice_dismissal_url()
S
63 2 10
remove_notification()
S
73 2 5
is_notification_error()
S
71 2 6
style()
S
87 1 3
create_admin_notice()
S
70 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
get_payload()
S
70 1 6
build_query_url()
S
71 1 6