WPRSS_Admin_Notices D

Total Complexity 136
Dependencies 3
Dependents 0
Total lines 1,015
Lines of code 396
Logical lines of code 267
Comment lines 462
Methods 43
Properties 8

Methods 43

Method Rating Maintainability Complexity Lines of code
evaluate_conditions()
A
45 16 38
__construct()
A
53 9 23
normalize_notice_data()
A
47 8 35
hide_notice()
A
55 8 18
_remove_notice()
S
57 7 15
is_notice_active()
S
58 7 14
set_notices_settings()
S
53 6 23
remove_notice()
S
59 6 13
render_notice()
S
51 4 25
get_notices_settings()
S
58 4 16
generate_nonce_code()
S
66 4 7
generate_nonce_for_notice()
S
63 4 9
is_notice_allowed()
S
64 4 8
get_active_notices()
S
64 4 10
generate_unique_id()
S
68 3 6
normalize_notice_data_from_db()
S
67 3 7
get_allowed_notices()
S
66 3 8
has_notice()
S
71 3 5
get_notices()
S
65 3 9
set_notice()
S
64 3 9
prefix()
S
75 2 4
render_allowed_notices()
S
68 2 7
set_notice_active()
S
70 2 6
prepare_notice_data_for_db()
S
69 2 6
set_dismiss_mode_class_prefix()
S
76 1 4
get_text_domain()
S
82 1 3
set_id_prefix()
S
77 1 4
output_allowed_notices()
S
77 1 4
hash()
S
80 1 3
set_setting_code()
S
77 1 4
get_setting_name()
S
82 1 3
set_notices_settings_all()
S
70 1 6
init()
S
70 1 6
set_text_domain()
S
77 1 4
get_notice_base_class()
S
79 1 3
set_notice_base_class()
S
77 1 4
get_nonce_base_class()
S
79 1 3
set_nonce_base_class()
S
77 1 4
get_btn_close_base_class()
S
79 1 3
set_btn_close_base_class()
S
77 1 4
add_notice()
S
66 1 8
_construct()
S
91 1 2
get_dismiss_mode_class_prefix()
S
82 1 3