FrmSpamCheckDenylist B

Total Complexity 96
Dependencies 3
Dependents 1
Total lines 543
Lines of code 316
Logical lines of code 162
Comment lines 147
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
get_values_to_check()
A
49 13 30
get_field_ids_to_check()
A
54 11 19
check_values()
A
50 10 28
check_ip()
A
51 9 27
read_lines_and_check()
A
52 9 25
single_line_check_values()
A
52 8 24
ip_matches()
S
56 4 17
get_denylist_array()
S
50 2 33
maybe_add_form_id_to_values()
S
64 4 10
add_spam_keyword_to_option()
S
62 3 12
get_words_from_setting()
S
64 3 10
ip_matches_array()
S
67 3 8
fill_default_denylist_data()
S
56 1 19
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
get_spam_message()
S
79 1 3
__construct()
S
73 1 5
single_line_check_ip()
S
78 1 3
is_allowed_ip()
S
79 1 3
convert_values_to_string()
S
80 1 3
is_enabled()
S
72 1 5
convert_to_lowercase()
S
80 1 3