Two_Factor_Totp A

Total Complexity 55
Dependencies 2
Dependents 0
Total lines 548
Lines of code 271
Logical lines of code 138
Comment lines 201
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
user_two_factor_options_update()
A
50 9 28
user_two_factor_options()
S
46 3 46
admin_notices()
S
56 4 21
base32_decode()
S
54 4 20
base32_encode()
S
58 4 15
pack64()
S
58 4 14
is_valid_authcode()
S
58 3 14
calc_totp()
S
56 2 16
abssort()
S
66 3 8
authentication_page()
S
57 1 22
is_valid_key()
S
68 2 7
get_instance()
S
69 2 7
validate_authentication()
S
66 2 9
get_google_qr_code()
S
66 2 8
user_settings_action()
S
73 2 5
delete_user_totp_key()
S
79 1 3
set_user_totp_key()
S
79 1 3
generate_key()
S
71 1 5
get_user_totp_key()
S
78 1 3
get_token_delete_url_for_user()
S
79 1 3
is_available_for_user()
S
75 1 4
get_label()
S
79 1 3
__construct()
S
67 1 7