UR_Form_Validation D

Total Complexity 129
Dependencies 1
Dependents 2
Total lines 817
Lines of code 453
Logical lines of code 256
Comment lines 245
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
get_sanitize_value()
C
42 27 45
validate_form_data()
A
44 9 42
validate_password_data()
A
52 10 24
reorganize_form_data()
A
51 9 26
ur_missing_field_validation()
A
56 9 16
match_email()
A
49 8 29
match_password()
A
49 8 29
validate_update_profile()
A
45 7 42
add_hook()
A
55 8 18
get_update_profile_validation_skippable_fields()
S
42 4 59
is_field_required()
S
59 7 12
run_field_validations_on_profile_update()
S
55 6 18
validate_form()
S
53 4 22
run_field_validations_on_registration()
S
56 3 19
get_error_message()
S
53 2 22
add_error()
S
66 3 8
get_field_validations()
S
68 3 7
set_fields_validations()
S
64 1 10
__construct()
S
71 1 5