SucomNotice D

Total Complexity 249
Dependencies 3
Dependents 2
Total lines 1,797
Lines of code 1,095
Logical lines of code 480
Comment lines 258
Methods 41
Properties 17

Methods 41

Method Rating Maintainability Complexity Lines of code
show_admin_notices()
D
32 33 95
ajax_get_notices_json()
C
36 25 76
log()
C
38 26 58
get_notice_html()
C
35 25 73
get_notice_style()
B
23
4 342
is_dismissed()
A
47 14 37
maybe_load_notice_cache()
A
50 12 30
get_ref()
A
50 12 26
clear()
A
51 11 27
ajax_dismiss_notice()
A
49 9 29
set_config()
A
50 9 28
is_admin_pre_notices()
A
54 8 24
maybe_load_other_notices()
S
51 7 26
update_notice_transient()
S
52 5 25
get_ref_url_html()
S
55 3 19
add_wp_hooks()
S
59 3 14
get_notice_transient()
S
61 3 13
get_notice_script()
S
53 1 40
__construct()
S
63 3 10
set_textdomain()
S
67 3 7
set_label_transl()
S
63 3 10
unset_ref()
S
68 3 7
is_ref_url()
S
70 3 6
reset_dismissed()
S
68 3 7
is_enabled()
S
80 2 3
can_dismiss()
S
69 2 7
get_tb_types_showing()
S
75 2 4
shutdown_notice_cache()
S
73 2 5
enable()
S
74 1 5
disable()
S
80 1 3
nag()
S
78 1 3
err()
S
78 1 3
warn()
S
78 1 3
inf()
S
78 1 3
upd()
S
78 1 3
clear_key()
S
79 1 3
set_ref()
S
67 1 8
clear_dismissed()
S
78 1 3
admin_header_notices()
S
78 1 3
admin_footer_script()
S
81 1 3
get_notice_system()
S
74 1 4