BaseFacebook D

Total Complexity 171
Dependencies 3
Dependents 0
Total lines 1,345
Lines of code 659
Logical lines of code 327
Comment lines 521
Methods 55
Properties 11

Methods 55

Method Rating Maintainability Complexity Lines of code
makeRequest()
A
42 10 54
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 20
_graph()
S
55 6 20
_restserver()
S
56 5 17
getCode()
S
58 5 16
_oauthRequest()
S
59 5 14
__construct()
S
59 5 14
setExtendedAccessToken()
S
51 4 28
getLoginUrl()
S
57 4 16
getUrl()
S
60 4 13
getSignedRequest()
S
62 4 12
destroySession()
S
55 3 20
parseSignedRequest()
S
56 3 17
getAccessToken()
S
64 3 11
getBaseDomain()
S
66 3 8
isVideoPost()
S
70 3 6
getHttpHost()
S
70 3 6
shouldRetainParam()
S
66 3 8
makeSignedRequest()
S
59 2 13
errorLog()
S
73 2 5
getUser()
S
71 2 6
api()
S
66 2 8
endsWith()
S
68 2 7
establishCSRFTokenState()
S
70 2 6
getUserFromAccessToken()
S
67 2 8
isAllowedDomain()
S
70 2 6
getLoginStatusUrl()
S
61 1 13
setPersistentData()
S
100 1 0
getAppId()
S
82 1 3
base64UrlEncode()
S
71 1 5
getPersistentData()
S
100 1 0
base64UrlDecode()
S
78 1 3
clearPersistentData()
S
100 1 0
setApiSecret()
S
77 1 4
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
getMetadataCookieName()
S
80 1 3
clearAllPersistentData()
S
100 1 0