Mo_2f_Ajax D

Total Complexity 268
Dependencies 11
Dependents 0
Total lines 1,171
Lines of code 907
Logical lines of code 664
Comment lines 190
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
mo_two_factor_ajax()
C
34 30 85
mo2f_configure_otp_based_methods_validate()
C
32 23 104
mo2f_configure_otp_based_twofa()
B
35 19 80
mo2f_save_custom_form_settings()
B
36 18 81
mo2f_register_customer()
B
38 19 61
mo2f_validate_google_authenticator()
A
41 15 50
mo2f_get_current_customer()
A
42 15 47
mo2f_grace_period_save()
A
49 10 28
mo2f_save_email_verification()
A
47 9 34
mo2f_check_user_exist_miniorange()
A
48 7 31
mo2f_google_auth_set_transient()
S
56 8 15
mo2f_set_otp_over_sms()
S
51 7 23
mo2f_set_ga()
S
51 7 21
mo2f_role_based_2_factor()
S
55 7 18
mo2f_single_user()
S
53 6 22
mo2f_unlimitted_user()
S
54 6 20
mo2f_set_miniorange_methods()
S
53 6 18
check_email_verification_status()
S
57 6 15
mo2f_shift_to_onprem()
S
56 4 18
mo2f_delete_log_file()
S
55 4 18
mo2f_enable_twofactor_userprofile()
S
64 5 8
mo_wpns_register_verify_customer()
S
60 4 12
mo2f_enable_disable_twofactor()
S
60 4 11
mo2f_ajax_login_redirect()
S
64 4 8
mo2f_enable_disable_debug_log()
S
61 4 10
mo2f_enable_disable_inline()
S
63 4 9
mo2f_enable_disable_configurd_methods()
S
63 4 9
mo2f_verify_customer()
S
63 4 9
mo2f_enable_transactions_report()
S
63 4 9
mo2f_save_success_customer_config()
S
54 1 22
mo2f_wp_send_json_msg()
S
77 2 3
mo_2f_two_factor()
S
75 1 4
__construct()
S
75 1 4