Astra_Notices A

Total Complexity 54
Dependencies 0
Dependents 2
Total lines 392
Lines of code 195
Logical lines of code 105
Comment lines 148
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
dismiss_notice()
A
46 12 36
show_notices()
A
48 8 34
is_expired()
A
55 8 18
get_notice_by_id()
S
61 4 13
get_wrap_classes()
S
61 4 11
add_notice()
S
61 3 12
sort_notices()
S
65 3 9
get_notice_id()
S
69 3 6
markup()
S
58 1 16
get_instance()
S
71 2 6
get_url()
S
64 2 9
enqueue_scripts()
S
63 1 11
__construct()
S
69 1 6
add_data_attributes()
S
76 1 4
get_notices()
S
76 1 4