BackWPup_Destination_Dropbox_API D

Total Complexity 176
Dependencies 20
Dependents 2
Total lines 1,369
Lines of code 756
Logical lines of code 395
Comment lines 377
Methods 54
Properties 7

Methods 54

Method Rating Maintainability Complexity Lines of code
multipartUpload()
B
35 15 89
buildRequest()
A
44 9 47
handleFilesWriteError()
A
52 8 27
handleFilesLookupError()
A
53 8 25
setOAuthTokens()
S
55 7 20
handleFilesUploadSessionLookupError()
S
52 6 29
handleRequestException()
S
54 6 23
request()
S
52 6 23
handleFilesUploadSessionFinishError()
S
57 5 18
getUrl()
S
59 5 15
logRequest()
S
58 5 14
handle403Error()
S
52 4 29
__construct()
S
54 4 23
upload()
S
55 4 20
filesUploadSessionFinish()
S
58 4 15
handleFilesListFolderContinueError()
S
61 4 13
handleFilesDeleteError()
S
61 4 13
filesUpload()
S
60 4 13
filesUploadSessionAppendV2()
S
56 3 20
getTokens()
S
58 3 16
createClient()
S
59 3 15
formatPath()
S
65 4 8
listFolder()
S
59 3 14
handle401Error()
S
58 2 16
handleFilesListFolderError()
S
64 3 10
handleFilesGetMetadataError()
S
64 3 10
handleFilesGetTemporaryLinkError()
S
64 3 10
download()
S
66 3 7
handleFilesUploadError()
S
64 3 10
handle429Error()
S
63 2 12
refresh()
S
58 1 16
handle409Error()
S
60 1 15
filesGetMetadata()
S
66 2 8
filesGetTemporaryLink()
S
66 2 8
log()
S
70 2 6
filesListFolder()
S
66 2 8
filesListFolderContinue()
S
69 2 7
getUserAgent()
S
79 2 3
getCaBundle()
S
79 2 3
filesDelete()
S
66 2 8
notifyRefresh()
S
74 2 5
handleServerException()
S
64 1 12
oAuthToken()
S
62 1 12
handle400Error()
S
65 1 11
authTokenRevoke()
S
80 1 3
createRequestFactory()
S
81 1 3
setCaBundle()
S
81 1 3
setUserAgent()
S
81 1 3
usersGetSpaceUsage()
S
80 1 3
usersGetCurrentAccount()
S
80 1 3
oAuthAuthorize()
S
79 1 3
filesUploadSessionStart()
S
79 1 3
handleFilesUploadWriteFailed()
S
80 1 3
setJobObject()
S
81 1 3