BaseFacebookWI D

Total Complexity 173
Dependencies 4
Dependents 0
Total lines 1,345
Lines of code 665
Logical lines of code 334
Comment lines 513
Methods 55
Properties 11

Methods 55

Method Rating Maintainability Complexity Lines of code
makeRequest()
A
41 11 55
getUserAccessToken()
A
49 10 36
getCurrentUrl()
A
50 10 25
getUserFromAvailableData()
A
51 9 29
getHttpProtocol()
A
57 9 17
throwAPIException()
S
57 7 17
getAccessTokenFromCode()
S
51 6 28
getApiUrl()
S
39 3 70
getMetadataCookie()
S
54 6 21
_graph()
S
55 6 20
_oauthRequest()
S
59 6 14
getCode()
S
55 5 19
_restserver()
S
56 5 17
__construct()
S
59 5 14
setExtendedAccessToken()
S
51 4 28
getLoginUrl()
S
55 4 20
getSignedRequest()
S
61 4 13
getUrl()
S
60 4 13
destroySession()
S
54 3 21
parseSignedRequest()
S
56 3 17
getAccessToken()
S
64 3 11
shouldRetainParam()
S
66 3 8
isVideoPost()
S
70 3 6
getHttpHost()
S
70 3 6
getBaseDomain()
S
66 3 8
makeSignedRequest()
S
59 2 13
errorLog()
S
73 2 5
getUser()
S
71 2 6
api()
S
66 2 8
isAllowedDomain()
S
70 2 6
endsWith()
S
68 2 7
establishCSRFTokenState()
S
70 2 6
getUserFromAccessToken()
S
67 2 8
base64UrlEncode()
S
71 1 5
base64UrlDecode()
S
78 1 3
setPersistentData()
S
100 1 0
getPersistentData()
S
100 1 0
setApiSecret()
S
77 1 4
clearPersistentData()
S
100 1 0
getAppId()
S
82 1 3
getLogoutUrl()
S
65 1 10
setAppSecret()
S
77 1 4
getApiSecret()
S
81 1 3
getSignedRequestCookieName()
S
80 1 3
getAppSecret()
S
82 1 3
setFileUploadSupport()
S
77 1 4
getAppSecretProof()
S
79 1 3
getFileUploadSupport()
S
82 1 3
useFileUploadSupport()
S
81 1 3
setAccessToken()
S
77 1 4
setAppId()
S
77 1 4
getApplicationAccessToken()
S
80 1 3
getLoginStatusUrl()
S
68 1 8
getMetadataCookieName()
S
80 1 3
clearAllPersistentData()
S
100 1 0