wcff_validator D

Total Complexity 137
Dependencies 0
Dependents 1
Total lines 730
Lines of code 496
Logical lines of code 188
Comment lines 164
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
remove_field_if_rule_is_hidden()
B
42 24 43
validate_file_upload()
B
42 21 50
validate_fields()
B
43 17 45
validate()
A
47 13 31
validate_file_field()
A
48 12 32
mime_types()
A
26
1 194
validate_helper()
A
53 9 20
handle_validation()
S
58 3 17
validate_file_upload_max_size()
S
64 4 9
validate_select_field()
S
67 4 8
validate_checkbox_field()
S
77 3 3
validate_radio_field()
S
77 3 3
validate_email_field()
S
76 3 3
validate_colorpicker_field()
S
77 3 3
validate_datepicker_field()
S
77 3 3
validate_number_field()
S
77 3 3
validate_textarea_field()
S
77 3 3
validate_text_field()
S
77 3 3
get_mime_type()
S
60 2 13
validate_field()
S
64 2 9
__construct()
S
98 1 1