WPBookingCalendarOtpAddon S

Total Complexity 39
Dependencies 0
Dependents 0
Total lines 306
Lines of code 212
Logical lines of code 94
Comment lines 38
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
send_otp_via_sms()
S
47 6 35
enforce_otp_validation()
S
56 7 16
send_otp()
S
55 5 18
check_session_otp()
S
58 5 14
verify_otp_ajax()
S
62 4 10
send_otp_via_email()
S
60 2 12
register_settings()
S
55 1 24
enqueue_scripts()
S
54 1 22
sanitize_otp_method()
S
69 2 7
render_settings_page()
S
64 1 14
__construct()
S
61 1 12
add_settings_page()
S
67 1 9
sanitize_sms_api_key()
S
80 1 3
otp_method_callback()
S
67 1 9
sms_api_key_callback()
S
70 1 7