-
Home
-
Two-Factor
-
0.9.0
-
Code
-
Classes
- Two_Factor_Backup_Codes
Total Complexity |
31 |
Dependencies |
3 |
Dependents |
0 |
Total lines |
388 |
Lines of code |
223 |
Logical lines of code |
81 |
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 |
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 |
64 |
1 |
11 |
__construct() |
S |
69 |
1 |
6 |
get_label() |
S |
79 |
1 |
3 |
get_alternative_provider_label() |
S |
79 |
1 |
3 |
delete_code() |
S |
68 |
1 |
7 |