Simba_Two_Factor_Authentication D

Total Complexity 232
Dependencies 7
Dependents 0
Total lines 1,014
Lines of code 675
Logical lines of code 433
Comment lines 143
Methods 36
Properties 4

Methods 36

Method Rating Maintainability Complexity Lines of code
tfaVerifyCodeAndUser()
C
37 33 53
tfaListEnableRadios()
B
48 20 25
php_error_to_logline()
B
49 19 24
current_codes_box()
B
34 13 98
__construct()
A
44 16 39
footer()
A
38 6 111
tfaInitLogin()
A
47 11 31
login_enqueue_scripts()
A
47 10 29
list_user_roles_checkboxes()
A
55 10 16
shared_ajax()
A
58 9 12
print_private_keys()
S
52 7 24
settings_intro_notices()
S
53 7 22
add_footer()
S
61 7 10
reset_private_key_and_emergency_codes()
S
57 5 15
init()
S
66 6 7
tfaListAlgorithmRadios()
S
61 6 9
advanced_settings_box()
S
50 4 29
tfaListXMLRPCStatusRadios()
S
60 5 11
tfaListDefaultHMACRadios()
S
63 5 8
check_possible_reset()
S
69 4 6
reset_link()
S
63 4 8
tfa_show_hotp_off_sync_message()
S
57 2 18
current_otp_code()
S
63 3 9
get_ajax_url()
S
65 3 8
load_frontend()
S
71 3 5
get_option()
S
68 2 7
tfa_qr_code_url()
S
65 2 7
get_php_errors()
S
69 2 6
get_management_capability()
S
79 1 3
getTFA()
S
81 1 3
show_admin_warning()
S
78 1 3
reset_current_otp_link()
S
78 1 3
admin_notice_missing_mcrypt_and_openssl()
S
77 1 3
admin_notice_insufficient_php()
S
76 1 3
plugins_loaded()
S
69 1 7
shortcode_when_not_logged_in()
S
82 1 3