Two_Factor_Provider S

Total Complexity 21
Dependencies 1
Dependents 1
Total lines 187
Lines of code 57
Logical lines of code 27
Comment lines 103
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
sanitize_code_from_request()
S
62 4 11
get_code()
S
63 3 10
get_instance()
S
67 2 8
__construct()
S
82 1 3
get_label()
S
100 1 0
get_alternative_provider_label()
S
72 1 6
print_label()
S
80 1 3
get_key()
S
80 1 3
authentication_page()
S
100 1 0
pre_process_authentication()
S
82 1 3
validate_authentication()
S
100 1 0
is_available_for_user()
S
100 1 0
is_supported_for_user()
S
75 1 4
uninstall_user_meta_keys()
S
81 1 3
uninstall_options()
S
81 1 3