-
Home
-
Solid Security – Password, Two Factor Authentication, and Brute Force Protection
-
7.9.0
-
Code
-
Classes
- ITSEC_Validator
Total Complexity |
166 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
612 |
Lines of code |
461 |
Logical lines of code |
306 |
Comment lines |
21 |
Methods |
23 |
Properties |
12 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sanitize_setting() |
D |
6 |
116 |
334 |
validate_matching_fields() |
S |
57 |
7 |
15 |
convert_string_to_array() |
S |
57 |
5 |
18 |
validate_matching_types() |
S |
57 |
5 |
15 |
preserve_setting_if_exists() |
S |
66 |
5 |
7 |
set_default_if_empty() |
S |
67 |
4 |
7 |
set_previous_if_empty() |
S |
67 |
4 |
7 |
validate() |
S |
63 |
3 |
12 |
__construct() |
S |
68 |
2 |
7 |
found_errors() |
S |
70 |
2 |
7 |
get_messages() |
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 |
add_error() |
S |
80 |
1 |
3 |
get_id() |
S |
100 |
1 |
0 |
validate_settings() |
S |
98 |
1 |
1 |
sanitize_settings() |
S |
98 |
1 |
1 |
get_settings() |
S |
81 |
1 |
3 |