Two_Factor_Totp B

Total Complexity 98
Dependencies 12
Dependents 0
Total lines 781
Lines of code 447
Logical lines of code 251
Comment lines 203
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
user_two_factor_options_update()
A
44 12 42
handle_ajax_on_board()
A
49 7 32
ajax_verify_code()
S
51 6 23
get_secret()
S
53 5 24
admin_notices()
S
55 5 23
user_two_factor_options()
S
47 4 37
get_key()
S
57 5 18
set_secret()
S
55 4 20
base32_decode()
S
54 4 20
authentication_page()
S
50 3 34
base32_encode()
S
58 4 15
pack64()
S
58 4 14
_is_valid_authcode()
S
59 3 13
configure_via_cli()
S
61 3 12
get_config_for_cli()
S
61 3 12
calc_totp()
S
56 2 16
abssort()
S
67 3 8
get_google_qr_code()
S
62 3 10
is_available_for_user()
S
74 2 4
get_instance()
S
68 2 8
validate_authentication()
S
67 2 7
enqueue_assets()
S
69 2 6
generate_key()
S
72 1 5
description()
S
75 1 3
get_on_board_dashicon()
S
82 1 3
get_on_board_label()
S
79 1 3
get_on_board_description()
S
79 1 3
has_on_board_configuration()
S
82 1 3
get_on_board_config()
S
65 1 8
ajax_new_code()
S
65 1 8
get_label()
S
79 1 3
__construct()
S
63 1 10