Two_Factor_Email S

Total Complexity 34
Dependencies 0
Dependents 0
Total lines 347
Lines of code 138
Logical lines of code 66
Comment lines 161
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
authentication_page()
S
52 4 30
validate_token()
S
62 4 11
get_user_token()
S
68 3 7
validate_authentication()
S
67 3 7
pre_process_authentication()
S
68 3 7
user_token_has_expired()
S
66 3 8
get_instance()
S
67 2 8
user_token_lifetime()
S
68 2 7
user_has_token()
S
69 2 7
user_options()
S
62 1 15
user_token_ttl()
S
74 1 4
__construct()
S
75 1 4
delete_token()
S
80 1 3
generate_and_email_token()
S
65 1 8
generate_token()
S
70 1 6
get_label()
S
79 1 3
is_available_for_user()
S
82 1 3