CRB_2FA C

Total Complexity 111
Dependencies 2
Dependents 4
Total lines 702
Lines of code 523
Logical lines of code 255
Comment lines 53
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
restrict_and_verify()
C
34 26 84
check_role_policies()
B
41 21 51
enforce()
A
43 12 49
show_2fa_page()
A
40 3 92
get_user_pin_info()
S
54 7 20
send_user_pin()
S
48 6 30
process_ajax()
S
55 6 18
verify_pin()
S
55 5 20
update_2fa_data()
S
57 5 18
delete_2fa()
S
59 5 15
cerber_2fa_form()
S
42 1 71
get_user_email()
S
62 4 11
initiate_2fa()
S
59 3 13
generate_pin()
S
58 2 15
get_2fa_data()
S
64 3 10
cerber_2fa_session_id()
S
72 2 6