FrmEntryValidate D

Total Complexity 160
Dependencies 12
Dependents 3
Total lines 830
Lines of code 461
Logical lines of code 282
Comment lines 238
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
get_all_form_ids_and_flatten_meta()
A
46 16 38
validate_field()
A
44 14 39
spam_check()
A
54 12 19
validate()
A
48 10 30
should_really_skip_field()
A
52 10 24
is_akismet_guest_info_value()
A
56 8 17
recursive_add_akismet_guest_info()
S
54 7 20
skip_adding_values_to_akismet()
S
59 5 14
create_regular_expression_from_format()
S
53 4 22
maybe_clear_value_for_default_blank_setting()
S
64 5 9
validate_phone_field()
S
64 5 8
add_server_values_to_akismet()
S
64 5 9
add_comment_content_to_akismet()
S
60 4 14
maybe_add_item_name()
S
61 4 12
form_is_in_progress()
S
70 4 5
is_akismet_spam()
S
73 4 4
blacklist_check()
S
58 3 15
phone_format()
S
60 3 13
akismet()
S
59 3 13
add_site_info_to_akismet()
S
61 3 11
get_spam_check_user_info_for_guest()
S
57 2 18
maybe_fix_item_meta()
S
72 3 5
set_item_key()
S
67 3 7
is_akismet_enabled_for_user()
S
73 3 4
get_akismet_skipped_field_ids()
S
58 2 14
get_spam_check_user_info()
S
61 2 13
get_fields_to_validate()
S
63 2 9
add_user_info_to_akismet()
S
68 2 7
get_disallowed_words()
S
69 2 7
validate_field_types()
S
64 2 9
check_disallowed_words()
S
69 2 6
parse_akismet_array()
S
69 1 7
is_spam_bot()
S
76 1 4
is_honeypot_spam()
S
74 1 4
is_antispam_check()
S
75 1 4
default_phone_format()
S
81 1 3
prepare_values_for_spam_check()
S
75 1 4