BackWPup_Destination_Dropbox_API D

Total Complexity 174
Dependencies 21
Dependents 2
Total lines 1,385
Lines of code 761
Logical lines of code 396
Comment lines 329
Methods 54
Properties 7

Methods 54

Method Rating Maintainability Complexity Lines of code
multipartUpload()
B
35 15 88
buildRequest()
A
43 9 53
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
53 6 22
handleFilesUploadSessionFinishError()
S
57 5 18
handle403Error()
S
52 4 30
logRequest()
S
58 5 14
__construct()
S
54 4 23
upload()
S
56 4 18
filesUploadSessionFinish()
S
57 4 16
filesUpload()
S
59 4 14
handleFilesDeleteError()
S
61 4 13
handleFilesListFolderContinueError()
S
61 4 13
filesUploadSessionAppendV2()
S
56 3 20
createClient()
S
57 3 17
getTokens()
S
58 3 16
formatPath()
S
65 4 8
listFolder()
S
59 3 15
getUrl()
S
62 3 11
handle401Error()
S
58 2 16
handleFilesListFolderError()
S
64 3 10
handleFilesUploadError()
S
64 3 10
handleFilesGetMetadataError()
S
64 3 10
download()
S
66 3 7
handleFilesGetTemporaryLinkError()
S
64 3 10
handle429Error()
S
64 2 11
log()
S
70 2 6
getCaBundle()
S
79 2 3
notifyRefresh()
S
74 2 5
filesGetMetadata()
S
65 2 9
getUserAgent()
S
79 2 3
filesListFolderContinue()
S
67 2 8
filesListFolder()
S
65 2 9
filesGetTemporaryLink()
S
65 2 9
handle409Error()
S
60 1 15
filesDelete()
S
65 2 9
refresh()
S
61 1 13
oAuthToken()
S
62 1 12
handleServerException()
S
64 1 12
handle400Error()
S
65 1 11
createRequestFactory()
S
81 1 3
authTokenRevoke()
S
80 1 3
setCaBundle()
S
81 1 3
setUserAgent()
S
81 1 3
oAuthAuthorize()
S
79 1 3
usersGetSpaceUsage()
S
80 1 3
usersGetCurrentAccount()
S
80 1 3
filesUploadSessionStart()
S
79 1 3
handleFilesUploadWriteFailed()
S
80 1 3
setJobObject()
S
81 1 3