ITSEC_Validator D

Total Complexity 181
Dependencies 11
Dependents 1
Total lines 713
Lines of code 519
Logical lines of code 333
Comment lines 45
Methods 28
Properties 12

Methods 28

Method Rating Maintainability Complexity Lines of code
sanitize_setting()
D
6
116 335
validate_user_groups()
S
49 7 30
validate_matching_fields()
S
56 8 15
validate_matching_types()
S
53 5 24
convert_string_to_array()
S
57 5 18
preserve_setting_if_exists()
S
66 5 7
set_previous_if_empty()
S
67 4 7
set_default_if_empty()
S
67 4 7
validate()
S
63 3 12
set_previous_if_missing()
S
68 3 7
__construct()
S
75 2 4
is_extended_setting_from_inactive_module()
S
67 2 7
__get()
S
66 2 8
get_messages()
S
81 1 3
get_settings()
S
81 1 3
needs_refresh()
S
81 1 3
set_needs_refresh()
S
80 1 3
can_save()
S
81 1 3
set_can_save()
S
80 1 3
generate_error()
S
77 1 3
add_message()
S
80 1 3
get_errors()
S
81 1 3
found_errors()
S
79 1 3
add_error()
S
80 1 3
get_id()
S
100 1 0
validate_settings()
S
98 1 1
sanitize_settings()
S
98 1 1
__isset()
S
80 1 3