Code Analysis: Two Factor Authentication 1.8.7

Most Complex Classes

Class Rating Complexity
Simba_Two_Factor_Authentication
D
267
Simba_TFA
D
187
TFA_Frontend
S
40
Base32
S
14
HOTP
S
11
HOTPResult
S
8
Simba_TFA_Provider_TOTP
S
6

Most Complex Functions

Function Rating Complexity
Simba_Two_Factor_Authentication::tfaVerifyCodeAndUser()
C
28
Simba_TFA::authUserFromLogin()
B
22
Simba_Two_Factor_Authentication::__construct()
B
20
Simba_Two_Factor_Authentication::tfaListEnableRadios()
B
20
TFA_Frontend::ajax()
B
18
Simba_Two_Factor_Authentication::php_error_to_logline()
B
19
Simba_Two_Factor_Authentication::current_codes_box()
B
13
Simba_TFA::check_code_for_user()
A
15
TFA_Frontend::wp_footer()
A
6
Simba_TFA::preAuth()
A
12
Simba_Two_Factor_Authentication::footer()
A
6
Simba_TFA::get_user_roles()
A
12