OTP\Handler\Forms\ContactForm7 A

Total Complexity 54
Dependencies 9
Dependents 0
Total lines 346
Lines of code 258
Logical lines of code 107
Comment lines 0
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
validateFormPost()
A
49 16 26
_cf7_email_shortcode()
S
43 4 53
_cf7_phone_shortcode()
S
43 4 52
_handle_cf7_contact_form()
S
51 4 28
handleFormOptions()
S
61 4 12
emailKeyValidationCheck()
S
63 3 11
getPhoneNumberSelector()
S
70 3 6
handleForm()
S
55 1 18
checkIfVerificationCodeNotEntered()
S
72 2 5
checkIfVerificationNotStarted()
S
72 2 5
processPhoneNumber()
S
72 2 5
processEmail()
S
72 2 5
processOTPEntered()
S
69 2 6
__construct()
S
60 1 13
unsetSession()
S
77 1 4
unsetOTPSessionVariables()
S
79 1 3
handle_post_verification()
S
80 1 3
handle_failed_verification()
S
80 1 3