Simba_Two_Factor_Authentication D

Total Complexity 267
Dependencies 5
Dependents 0
Total lines 1,282
Lines of code 839
Logical lines of code 531
Comment lines 195
Methods 51
Properties 4

Methods 51

Method Rating Maintainability Complexity Lines of code
tfaVerifyCodeAndUser()
C
40 28 47
__construct()
B
38 20 59
tfaListEnableRadios()
B
48 20 25
php_error_to_logline()
B
49 19 24
current_codes_box()
B
34 13 100
footer()
A
38 6 111
tfaInitLogin()
A
48 10 30
login_enqueue_scripts()
A
48 10 27
list_user_roles_checkboxes()
A
55 10 16
shared_ajax()
A
58 9 12
before_login_form_generic()
S
49 7 25
print_private_keys()
S
52 7 24
settings_intro_notices()
S
53 7 22
add_footer()
S
61 7 10
affwp_process_login_form()
S
54 5 18
init()
S
66 6 7
reset_private_key_and_emergency_codes()
S
57 5 15
tfaListAlgorithmRadios()
S
61 6 9
advanced_settings_box()
S
50 4 29
tfaListXMLRPCStatusRadios()
S
60 5 11
register_two_factor_auth_settings()
S
54 4 20
manageUsersCustomColumnTFA()
S
58 4 15
tfaListDefaultHMACRadios()
S
63 5 8
menu_entry_for_admin()
S
61 4 12
check_possible_reset()
S
69 4 6
reset_link()
S
63 4 8
tfa_show_hotp_off_sync_message()
S
57 2 18
get_ajax_url()
S
65 3 8
load_frontend()
S
71 3 5
current_otp_code()
S
63 3 9
addPluginSettingsLink()
S
59 2 14
tfa_qr_code_url()
S
61 2 11
do_shortcode_tag()
S
75 2 4
get_php_errors()
S
69 2 6
admin_menu()
S
66 2 7
get_option()
S
68 2 7
show_admin_warning()
S
78 1 3
reset_current_otp_link()
S
78 1 3
getTFA()
S
81 1 3
admin_notice_insufficient_php()
S
76 1 3
plugins_loaded()
S
69 1 7
show_admin_settings_page()
S
73 1 5
shortcode_when_not_logged_in()
S
82 1 3
affwp_login_fields_before()
S
82 1 3
show_user_settings_page()
S
76 1 4
get_management_capability()
S
79 1 3
woocommerce_before_customer_login_form()
S
82 1 3
tml_display()
S
77 1 4
load_users_css()
S
67 1 9
manage_users_columns_tfa()
S
75 1 4
admin_notice_missing_mcrypt_and_openssl()
S
77 1 3