Two_Factor_Totp B

Total Complexity 76
Dependencies 5
Dependents 0
Total lines 630
Lines of code 347
Logical lines of code 188
Comment lines 186
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
user_two_factor_options_update()
A
49 10 30
handle_ajax_on_board()
S
52 6 25
admin_notices()
S
55 5 23
user_two_factor_options()
S
47 4 37
ajax_verify_code()
S
53 5 20
base32_decode()
S
54 4 20
base32_encode()
S
58 4 15
pack64()
S
58 4 14
_is_valid_authcode()
S
59 3 13
get_key()
S
61 3 13
configure_via_cli()
S
62 3 11
calc_totp()
S
56 2 16
abssort()
S
67 3 8
get_google_qr_code()
S
62 3 10
authentication_page()
S
58 1 21
get_instance()
S
68 2 8
enqueue_assets()
S
69 2 6
get_on_board_label()
S
79 1 3
get_label()
S
79 1 3
get_on_board_config()
S
65 1 8
has_on_board_configuration()
S
82 1 3
get_on_board_description()
S
79 1 3
validate_authentication()
S
74 1 4
get_on_board_dashicon()
S
82 1 3
description()
S
75 1 3
generate_key()
S
72 1 5
is_available_for_user()
S
74 1 4
ajax_new_code()
S
65 1 8
__construct()
S
63 1 10