WPI_Remote_Dashboard_Notifications_Client B

Total Complexity 98
Dependencies 2
Dependents 1
Total lines 748
Lines of code 301
Logical lines of code 172
Comment lines 290
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
show_notices()
A
52 10 24
remote_get_notice_ajax()
S
51 7 28
dismiss_notice()
S
54 7 19
init()
S
55 7 18
remote_get_notification()
S
51 6 23
heartbeat()
S
56 6 18
add_notification()
S
56 5 17
is_post_type_restricted()
S
64 6 9
has_notification_ended()
S
66 4 9
is_notification_started()
S
65 4 9
get_notice_class()
S
61 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
scripts()
S
59 2 13
get_notification()
S
71 2 6
get_remote_notification()
S
67 2 7
remove_notification()
S
73 2 5
is_notification_error()
S
71 2 6
get_notifications()
S
82 1 3
create_admin_notice()
S
69 1 7
wpi_admin_inline_css()
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
70 1 6