oc_trustedaccounts_controller C

Total Complexity 120
Dependencies 1
Dependents 1
Total lines 632
Lines of code 493
Logical lines of code 235
Comment lines 28
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
save_trustedaccounts_config()
D
29 49 90
loginOrSignupUser()
A
41 13 51
allow_only_ta_comments()
A
46 8 42
update_comment_reply_link()
S
56 6 17
save_new_nicename()
S
58 5 14
displayTrustedLoginButton()
S
53 2 28
allow_only_ta_register()
S
58 2 23
show_verification_badge()
S
49 1 33
show_ta_info_bar()
S
64 3 10
makeNonNestedRecursive()
S
65 3 9
displayTrustedRegisterButton()
S
57 1 23
displayTACommentBlock()
S
59 1 18
getInstance()
S
72 2 6
getUserById()
S
65 2 9
checkIfTrustedAccountsExists()
S
65 2 9
show_ta_login_button()
S
72 2 6
show_ta_register_button()
S
72 2 6
getUserByUsername()
S
65 2 9
navigateUsersToHomeAfterLogin()
S
72 2 6
addCSS()
S
65 2 9
__construct()
S
58 1 15
displayTrustedButtonLink()
S
62 1 14
displayTrustedButton()
S
62 1 14
loginUser()
S
70 1 6
lwliad_activate_oauth_plug()
S
82 1 3
addMenuPage()
S
78 1 3
trusted_accounts_load_textdomain()
S
78 1 3
success()
S
68 1 8
error()
S
75 1 4
makeNonNested()
S
73 1 5