Two_Factor_Backup_Codes S

Total Complexity 32
Dependencies 3
Dependents 0
Total lines 391
Lines of code 226
Logical lines of code 85
Comment lines 125
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
generate_codes()
S
54 5 20
rest_generate_codes()
S
47 4 33
validate_code()
S
60 5 12
user_options()
S
46 1 56
admin_notices()
S
53 3 26
codes_remaining_for_user()
S
67 3 7
register_rest_routes()
S
54 1 24
get_instance()
S
67 2 8
is_available_for_user()
S
71 2 6
validate_authentication()
S
69 2 7
authentication_page()
S
64 1 11
__construct()
S
69 1 6
get_label()
S
79 1 3
delete_code()
S
68 1 7