Two_Factor_Backup_Codes S

Total Complexity 28
Dependencies 1
Dependents 0
Total lines 341
Lines of code 194
Logical lines of code 69
Comment lines 115
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
generate_codes()
S
54 5 20
validate_code()
S
60 5 12
user_options()
S
44 1 68
admin_notices()
S
53 3 26
codes_remaining_for_user()
S
67 3 7
ajax_generate_json()
S
57 1 16
get_instance()
S
67 2 8
is_available_for_user()
S
71 2 6
validate_authentication()
S
73 2 4
authentication_page()
S
64 1 11
__construct()
S
69 1 6
get_label()
S
79 1 3
delete_code()
S
68 1 7