Validation D

Total Complexity 342
Dependencies 5
Dependents 2
Total lines 2,268
Lines of code 1,197
Logical lines of code 501
Comment lines 874
Methods 87
Properties 11

Methods 87

Method Rating Maintainability Complexity Lines of code
validate()
B
39 19 63
sanitize()
A
46 14 37
get_readable_errors()
A
46 10 36
filter()
A
47 10 34
validate_valid_cc()
A
46 9 40
get_errors_array()
A
49 9 29
validate_url_exists()
A
50 8 28
validate_date()
A
51 8 27
validate_extension()
S
54 7 20
validate_required()
S
61 7 11
validate_exact_len()
S
55 6 20
validate_min_len()
S
55 6 20
validate_street_address()
S
56 6 17
validate_iban()
S
47 5 31
validate_max_numeric()
S
59 6 14
validate_min_numeric()
S
59 6 14
validate_max_len()
S
56 5 20
validate_boolean()
S
57 5 15
validate_valid_array_size_equal()
S
60 5 13
validate_valid_json_string()
S
60 5 13
validate_valid_array_size_greater()
S
60 5 13
validate_valid_array_size_lesser()
S
60 5 13
validate_contains()
S
54 4 21
validate_doesnt_contain_list()
S
56 4 18
validate_contains_list()
S
56 4 18
validate_min_age()
S
56 4 17
validate_valid_twitter()
S
58 4 15
validate_equalsfield()
S
60 4 14
validate_guidv4()
S
60 4 14
validate_regex()
S
59 4 14
validate_required_file()
S
60 4 14
validate_phone_number()
S
59 4 14
validate_valid_email()
S
60 4 13
validate_alpha_numeric_space()
S
60 4 13
validate_alpha_dash()
S
60 4 13
validate_alpha_numeric()
S
60 4 13
validate_alpha()
S
60 4 13
validate_numeric()
S
61 4 13
validate_valid_pashtu_text()
S
60 4 13
validate_float()
S
60 4 13
validate_alpha_space()
S
60 4 13
validate_valid_ip()
S
60 4 13
validate_valid_persian_text()
S
60 4 13
validate_valid_url()
S
60 4 13
validate_valid_persian_digit()
S
60 4 13
validate_valid_ipv4()
S
60 4 13
validate_valid_ipv6()
S
60 4 13
validate_valid_name()
S
60 4 13
validate_valid_eng_per_pas_name()
S
60 4 13
validate_valid_persian_name()
S
60 4 13
validate_starts()
S
60 4 13
validate_integer()
S
60 4 13
add_validator()
S
61 4 11
get_message_array()
S
42 1 52
filter_noise_words()
S
60 3 13
run()
S
61 3 13
add_filter()
S
65 3 8
field()
S
65 3 10
check_fields()
S
60 2 13
filter_ms_word_characters()
S
57 1 17
get_instance()
S
71 2 6
is_valid()
S
65 2 9
xss_clean()
S
70 2 6
validation_rules()
S
72 2 6
filter_rules()
S
72 2 6
trimScalar()
S
72 2 6
set_field_names()
S
72 2 5
get_messages()
S
69 2 7
set_error_messages()
S
72 2 5
filter_rmpunctuation()
S
79 1 3
filter_sanitize_floats()
S
79 1 3
filter_upper_case()
S
80 1 3
filter_input()
S
75 1 4
__toString()
S
80 1 3
filter_lower_case()
S
80 1 3
filter_whole_number()
S
80 1 3
filter_basic_tags()
S
79 1 3
filter_sanitize_numbers()
S
79 1 3
filter_slug()
S
70 1 5
filter_sanitize_email()
S
79 1 3
filter_htmlencode()
S
79 1 3
errors()
S
82 1 3
set_field_name()
S
79 1 3
filter_urlencode()
S
79 1 3
filter_sanitize_string()
S
79 1 3
set_error_message()
S
75 1 4
__construct()
S
91 1 2