mo_2f_ajax D

Total Complexity 192
Dependencies 11
Dependents 0
Total lines 1,280
Lines of code 1,130
Logical lines of code 688
Comment lines 4
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
mo_two_factor_ajax()
C
36 30 77
mo2f_save_custom_form_settings()
A
39 13 69
mo2f_save_email_verification()
A
38 12 75
mo_2fa_verify_KBA_setup_wizard()
A
44 11 43
_get_current_customer()
A
42 10 52
mo2f_register_customer()
A
43 10 46
mo_2fa_configure_KBA_setup_wizard()
A
37 1 147
mo2f_check_user_exist_miniOrange()
A
47 7 34
mo2f_select_method_setup_wizard()
A
48 7 33
mo2f_enable_disable_twofactor_prompt_on_login()
S
50 7 27
mo2f_unlimitted_user()
S
50 6 31
mo2f_single_user()
S
51 6 27
mo2f_role_based_2_factor()
S
53 6 23
mo_2fa_send_otp_token()
S
49 5 32
mo2f_set_GA()
S
48 5 30
mo2f_shift_to_onprem()
S
54 5 21
mo_2fa_verify_GA_setup_wizard()
S
49 4 31
mo2f_set_miniorange_methods()
S
52 4 21
CheckEVStatus()
S
61 4 13
mo_2fa_configure_OTPOverSMS_setup_wizard()
S
50 2 36
mo2f_set_otp_over_sms()
S
53 3 21
mo2f_delete_log_file()
S
55 3 19
mo2f_enable_disable_twofactor()
S
57 3 16
mo2f_enable_disable_debug_log()
S
57 3 16
mo2f_enable_disable_inline()
S
59 3 15
mo2f_enable_disable_configurd_methods()
S
59 3 15
mo_2fa_verify_OTPOverSMS_setup_wizard()
S
51 2 26
mo_2fa_verify_OTPOverEmail_setup_wizard()
S
51 2 26
mo_2fa_configure_OTPOverEmail_setup_wizard()
S
52 1 34
mo_wpns_register_verify_customer()
S
66 3 8
_verify_customer()
S
63 3 10
save_success_customer_config()
S
54 1 21
mo2f_ajax_login_redirect()
S
63 2 10
mo2f_check_and_create_user()
S
65 2 10
mo_2f_two_factor()
S
76 1 4
mo_2fa_configure_GA_setup_wizard()
S
65 1 8
__construct()
S
79 1 3