OTP\Handler\Forms\GravityForm A

Total Complexity 71
Dependencies 9
Dependents 0
Total lines 387
Lines of code 233
Logical lines of code 128
Comment lines 138
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
parseform_datails()
A
47 13 31
add_scripts()
A
56 8 16
validate_form_submit()
S
54 7 20
validate_submitted_email_or_phone()
S
57 6 17
handle_form_options()
S
57 6 15
routeData()
S
57 5 15
validate_otp()
S
56 3 20
get_phone_number_selector()
S
63 4 9
isEmailOrPhoneField()
S
73 4 4
__construct()
S
58 2 15
handleGfForm()
S
66 3 9
processEmailAndStartOTPVerificationProcess()
S
61 2 13
processPhoneAndStartOTPVerificationProcess()
S
61 2 13
add_shortcode_to_form()
S
55 1 17
handle_form()
S
63 2 10
handle_failed_verification()
S
79 1 3
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3