NextendSocialProvider D

Total Complexity 160
Dependencies 9
Dependents 4
Total lines 1,276
Lines of code 830
Logical lines of code 344
Comment lines 234
Methods 69
Properties 8

Methods 69

Method Rating Maintainability Complexity Lines of code
getLastLocationRedirectTo()
B
41 18 58
getConnectButton()
A
40 11 57
doAuthenticate()
A
44 9 48
liveConnectBefore()
A
53 10 21
exportPersonalData()
S
49 6 31
linkUserToProviderIdentifier()
S
48 4 39
handlePopupRedirectAfterAuthentication()
S
45 2 66
getLinkButton()
S
47 4 33
onError()
S
48 3 46
hasFixedRedirect()
S
58 5 16
getUnLinkButton()
S
48 4 31
getState()
S
59 5 15
__construct()
S
45 3 42
isTest()
S
62 5 11
redirectToLastLocation()
S
57 4 17
liveConnectRedirect()
S
63 5 10
testConnectGetUserProfile()
S
50 1 43
unlinkUser()
S
61 3 13
redirect()
S
52 1 41
connect()
S
68 3 8
isCurrentUserConnected()
S
61 2 12
isUserConnected()
S
63 2 11
getLoginUrl()
S
67 2 7
getIconButton()
S
69 2 7
getDefaultButton()
S
67 2 7
deleteTokenPersistentData()
S
91 1 2
getOptionKey()
S
82 1 3
saveUserData()
S
78 1 3
deleteLoginPersistentData()
S
71 1 6
getUserData()
S
78 1 3
isEnabled()
S
82 1 3
hasSyncableProfileFields()
S
82 1 3
getCurrentUserInfo()
S
82 1 3
getAuthUserData()
S
82 1 3
getAuthUserDataByAuthOptions()
S
100 1 0
triggerSync()
S
100 1 0
getSyncFields()
S
82 1 3
hasSyncFields()
S
80 1 3
validateSettings()
S
82 1 3
needUpdateAvatar()
S
78 1 3
updateAvatar()
S
79 1 3
getDbID()
S
82 1 3
extendExportedPersonalData()
S
82 1 3
getSyncDataFieldDescription()
S
82 1 3
getAvatar()
S
82 1 3
redirectToLastLocationOther()
S
81 1 3
syncProfile()
S
91 1 2
liveConnectGetUserProfile()
S
70 1 6
checkAuthRedirectUrl()
S
100 1 0
updateAuthRedirectUrl()
S
75 1 5
getRequiredFields()
S
82 1 3
enable()
S
72 1 5
getClient()
S
100 1 0
getTestUrl()
S
78 1 4
getAllRedirectUrisForAppCreation()
S
78 1 3
getBaseRedirectUriForAppCreation()
S
100 1 0
doAuthProtocolSpecificFlow()
S
100 1 0
getRedirectUriForAuthFlow()
S
100 1 0
getRawDefaultButton()
S
78 1 3
getUserIDByProviderIdentifier()
S
68 1 7
getProviderIdentifierByUserID()
S
68 1 7
removeConnectionByUserID()
S
69 1 7
needPro()
S
82 1 3
redirectToLoginForm()
S
81 1 3
redirectWithAuthenticationError()
S
78 1 3
isTested()
S
80 1 3
validateRedirect()
S
74 1 4
getRawIconButton()
S
78 1 3
logLoginDate()
S
64 1 10