FrmEntryValidate D

Total Complexity 159
Dependencies 13
Dependents 3
Total lines 819
Lines of code 460
Logical lines of code 278
Comment lines 233
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
get_all_form_ids_and_flatten_meta()
A
46 16 38
validate_field()
A
46 12 36
spam_check()
A
54 13 19
should_really_skip_field()
A
52 10 24
validate()
A
51 9 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
add_server_values_to_akismet()
S
64 5 9
maybe_clear_value_for_default_blank_setting()
S
64 5 9
validate_phone_field()
S
64 5 8
add_comment_content_to_akismet()
S
60 4 14
maybe_add_item_name()
S
61 4 12
blacklist_check()
S
58 3 15
form_is_in_progress()
S
70 4 5
is_akismet_spam()
S
73 4 4
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
is_akismet_enabled_for_user()
S
73 3 4
set_item_key()
S
67 3 7
get_akismet_skipped_field_ids()
S
58 2 14
get_spam_check_user_info()
S
61 2 13
get_disallowed_words()
S
69 2 7
add_user_info_to_akismet()
S
68 2 7
check_disallowed_words()
S
67 2 7
validate_field_types()
S
64 2 9
get_fields_to_validate()
S
63 2 9
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
validate_url_field()
S
78 1 3
validate_email_field()
S
78 1 3
validate_number_field()
S
78 1 3
validate_recaptcha()
S
79 1 3