WC_GZD_Admin_Note B

Total Complexity 96
Dependencies 4
Dependents 1
Total lines 377
Lines of code 280
Logical lines of code 143
Comment lines 14
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
register_note_actions()
A
43 13 51
queue()
A
50 11 28
is_disabled()
A
54 11 21
add()
A
49 8 28
get_note()
S
58 5 16
use_wp_notice_api()
S
59 5 14
has_nonce_action()
S
63 4 10
get_action_url()
S
60 3 14
reset()
S
67 3 8
deactivate()
S
68 3 7
dismiss()
S
68 3 7
has_actions()
S
75 2 4
delete_note()
S
74 2 5
exists()
S
71 2 6
get_icon_type()
S
82 1 3
get_dismiss_option_name()
S
75 1 4
is_pro()
S
82 1 3
enable_notices()
S
81 1 3
get_fallback_notice_type()
S
82 1 3
get_title()
S
100 1 0
get_content()
S
100 1 0
get_days_until_show()
S
82 1 3
get_actions()
S
82 1 3
get_deactivate_option_name()
S
75 1 4
get_deactivate_url()
S
73 1 4
is_deactivatable()
S
82 1 3
get_dismiss_url()
S
73 1 4
add_fallback()
S
75 1 4
get_deactivate_text()
S
79 1 3
get_dismiss_text()
S
79 1 3
convert_content()
S
72 1 5
get_type()
S
82 1 3
get_name_prefixed()
S
77 1 3
is_dismissable()
S
82 1 3
get_name()
S
100 1 0