BaseFacebook D

Total Complexity 168
Dependencies 3
Dependents 0
Total lines 1,319
Lines of code 649
Logical lines of code 321
Comment lines 512
Methods 54
Properties 11

Methods 54

Method Rating Maintainability Complexity Lines of code
makeRequest()
A
42 10 54
getUserAccessToken()
A
49 10 36
getCurrentUrl()
A
50 10 25
getHttpProtocol()
A
57 9 17
getUserFromAvailableData()
A
52 8 26
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
59 5 15
__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
_oauthRequest()
S
62 4 11
destroySession()
S
55 3 20
parseSignedRequest()
S
56 3 17
getAccessToken()
S
64 3 11
getHttpHost()
S
70 3 6
isVideoPost()
S
70 3 6
getBaseDomain()
S
66 3 8
shouldRetainParam()
S
66 3 8
makeSignedRequest()
S
59 2 13
errorLog()
S
73 2 5
getUser()
S
71 2 6
isAllowedDomain()
S
70 2 6
api()
S
66 2 8
endsWith()
S
68 2 7
establishCSRFTokenState()
S
70 2 6
getUserFromAccessToken()
S
67 2 8
getLoginStatusUrl()
S
61 1 13
setPersistentData()
S
100 1 0
getAppId()
S
82 1 3
getPersistentData()
S
100 1 0
base64UrlEncode()
S
71 1 5
base64UrlDecode()
S
78 1 3
clearPersistentData()
S
100 1 0
setApiSecret()
S
77 1 4
getSignedRequestCookieName()
S
80 1 3
setAppSecret()
S
77 1 4
getApiSecret()
S
81 1 3
getMetadataCookieName()
S
80 1 3
getLogoutUrl()
S
65 1 10
getAppSecret()
S
82 1 3
setFileUploadSupport()
S
77 1 4
getFileUploadSupport()
S
82 1 3
useFileUploadSupport()
S
81 1 3
setAppId()
S
77 1 4
getApplicationAccessToken()
S
80 1 3
setAccessToken()
S
77 1 4
clearAllPersistentData()
S
100 1 0