FrmSpamCheckDenylist B

Total Complexity 87
Dependencies 3
Dependents 1
Total lines 506
Lines of code 288
Logical lines of code 144
Comment lines 143
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
get_field_ids_to_check()
A
54 11 19
check_values()
A
51 10 27
get_values_to_check()
A
52 10 24
check_ip()
A
51 9 27
single_line_check_values()
A
52 8 24
read_lines_and_check()
S
54 6 22
ip_matches()
S
56 4 17
get_denylist_array()
S
50 2 33
maybe_add_form_id_to_values()
S
64 4 10
get_words_from_setting()
S
64 3 10
ip_matches_array()
S
67 3 8
fill_default_denylist_data()
S
60 1 15
get_posted_fields()
S
71 2 6
check()
S
72 2 6
should_check_this_field()
S
77 2 3
add_to_values_to_check()
S
77 2 3
get_denylist_ips()
S
65 1 11
single_line_check_ip()
S
78 1 3
__construct()
S
73 1 5
convert_to_lowercase()
S
80 1 3
is_allowed_ip()
S
79 1 3
convert_values_to_string()
S
80 1 3
is_enabled()
S
79 1 3
get_spam_message()
S
79 1 3