-
Home
-
Two-Factor
-
0.13.0 (latest)
-
Code
-
Classes
- Two_Factor_Backup_Codes
Total Complexity |
33 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
424 |
Lines of code |
235 |
Logical lines of code |
89 |
Comment lines |
143 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
generate_codes() |
S |
53 |
5 |
21 |
rest_generate_codes() |
S |
47 |
4 |
33 |
validate_code() |
S |
60 |
5 |
12 |
user_options() |
S |
46 |
1 |
58 |
admin_notices() |
S |
53 |
3 |
26 |
codes_remaining_for_user() |
S |
67 |
3 |
7 |
register_rest_routes() |
S |
54 |
1 |
24 |
is_available_for_user() |
S |
71 |
2 |
6 |
validate_authentication() |
S |
69 |
2 |
7 |
authentication_page() |
S |
60 |
1 |
13 |
__construct() |
S |
70 |
1 |
6 |
get_label() |
S |
79 |
1 |
3 |
get_alternative_provider_label() |
S |
79 |
1 |
3 |
get_backup_code_length() |
S |
75 |
1 |
4 |
delete_code() |
S |
68 |
1 |
7 |
uninstall_user_meta_keys() |
S |
74 |
1 |
5 |