sm_validation S

Total Complexity 46
Dependencies 0
Dependents 5
Total lines 169
Lines of code 144
Logical lines of code 87
Comment lines 0
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
valid_password()
S
54 7 22
valid_username()
S
58 5 15
not_empty()
S
62 4 12
get_formatted_errors()
S
60 4 12
re_match_one()
S
64 3 10
is_int()
S
66 3 8
is_in_list()
S
66 2 8
must_match()
S
67 2 8
regex()
S
66 2 8
hex_value()
S
66 2 8
get_data_val()
S
75 2 4
get_item_formatted_errors()
S
71 2 5
get_item_first_error()
S
72 2 5
valid_full_url()
S
75 1 4
add_error()
S
80 1 3
has_errors()
S
80 1 3
get_errors()
S
82 1 3
item_has_error()
S
79 1 3
set_data()
S
81 1 3