Total Complexity | 76 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 529 |
Lines of code | 315 |
Logical lines of code | 152 |
Comment lines | 162 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
event_login_failure() | 32 | 22 | 111 | |
event_login() | 44 | 13 | 47 | |
event_2fa_login() | 51 | 8 | 24 | |
is_past_login_failure_limit() | 56 | 8 | 17 | |
event_logout() | 53 | 6 | 23 | |
increment_login_failure() | 54 | 6 | 23 | |
event_user_requested_pw_reset() | 59 | 3 | 15 | |
hook_events() | 58 | 3 | 14 | |
event_password_reset() | 61 | 2 | 13 | |
user_switched_event() | 58 | 1 | 16 | |
get_current_user() | 80 | 1 | 3 | |
get_login_failure_log_limit() | 81 | 1 | 3 | |
get_visitor_login_failure_log_limit() | 81 | 1 | 3 | |
get_login_failure_expiration() | 80 | 1 | 3 |