WPCF7_ConfigValidator D

Total Complexity 146
Dependencies 6
Dependents 6
Total lines 982
Lines of code 644
Logical lines of code 313
Comment lines 125
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
validate_mail()
C
27
26 151
replace_mail_tags_with_minimum_input()
B
38 20 66
count_errors()
A
51 10 27
detect_multiple_controls_in_label()
A
47 9 36
detect_upload_filesize_overlimit()
A
47 8 36
get_default_message()
A
55 8 20
restore()
S
53 7 22
collect_error_messages()
S
52 6 26
remove_error()
S
59 6 14
validate_messages()
S
59 5 14
detect_unavailable_names()
S
47 3 32
build_message()
S
60 4 13
detect_colons_in_names()
S
56 3 18
detect_dots_in_names()
S
56 3 18
detect_file_not_found()
S
58 3 15
validate_additional_settings()
S
62 3 13
save()
S
64 3 11
detect_file_not_in_content_dir()
S
60 2 14
detect_invalid_mailbox_syntax()
S
61 2 13
detect_unavailable_html_elements()
S
61 2 13
detect_html_in_message()
S
62 2 12
add_error()
S
62 2 11
get_doc_link()
S
63 2 10
detect_maybe_empty()
S
65 2 10
__construct()
S
81 1 3
validate()
S
64 1 10
is_valid()
S
80 1 3
contact_form()
S
82 1 3
validate_form()
S
64 1 10