ITSEC_Two_Factor C

Total Complexity 115
Dependencies 22
Dependents 6
Total lines 1,064
Lines of code 572
Logical lines of code 279
Comment lines 321
Methods 40
Properties 5

Methods 40

Method Rating Maintainability Complexity Lines of code
get_available_providers_for_user()
A
51 11 26
user_two_factor_options()
A
40 6 73
get_primary_provider_for_user()
S
54 7 20
block_xmlrpc()
S
57 7 16
send_setup_reminder()
S
46 4 39
set_enabled_providers_for_user()
S
56 5 20
get_two_factor_requirement_reason()
S
58 5 15
set_primary_provider_for_user()
S
60 5 14
user_two_factor_options_update()
S
59 5 14
is_legacy_ui_enabled()
S
61 5 13
get_allowed_providers_for_user()
S
62 4 11
get_enabled_providers_for_user()
S
61 3 13
is_sync_override_active()
S
59 3 13
__construct()
S
49 2 28
add_site_health_info()
S
57 2 17
register_notifications()
S
51 1 30
pwls_skip_2fa()
S
67 3 8
add_2fa_security_profile_data()
S
64 3 10
is_user_using_two_factor()
S
70 3 6
get_allowed_provider_instances_for_user()
S
64 3 10
set_remember_cookie()
S
61 2 13
clear_remember_cookie()
S
61 2 13
is_remember_allowed()
S
61 2 13
enqueue_profile()
S
63 2 11
two_factor_confirm_email_method_strings()
S
54 1 22
two_factor_email_method_strings()
S
55 1 20
two_factor_reminder_strings()
S
57 1 17
get_instance()
S
72 2 6
load_helper()
S
70 2 6
mark_user_as_using_2fa()
S
71 2 6
is_user_excluded()
S
67 2 7
get_reason_description()
S
79 1 3
apply_send_reminder_action()
S
80 1 3
add_user_actions()
S
68 1 7
add_profile_page_styling()
S
72 1 5
register_sync_get_everything_verbs()
S
76 1 4
get_helper()
S
82 1 3
register_sync_verbs()
S
71 1 5
register_interstitial()
S
66 1 8
user_requires_two_factor()
S
76 1 4