SGBackupStorage B

Total Complexity 76
Dependencies 10
Dependents 1
Total lines 439
Lines of code 306
Logical lines of code 191
Comment lines 7
Methods 28
Properties 12

Methods 28

Method Rating Maintainability Complexity Lines of code
getStorageInfoById()
C
35 23 89
startBackupUpload()
A
40 9 61
startUploadByActionId()
S
51 5 25
updateProgress()
S
60 3 13
startDownloadByActionId()
S
60 3 13
deleteBackupFromStorage()
S
62 3 11
checkCancellation()
S
67 3 8
downloadBackupArchiveFromCloud()
S
71 2 5
updateProgressManually()
S
75 2 5
willStartUpload()
S
71 2 6
shouldUploadNextChunk()
S
70 2 7
storageObjectById()
S
65 2 9
getInstance()
S
71 2 6
resetProgress()
S
77 1 4
queueBackupForUpload()
S
77 1 3
__construct()
S
76 1 4
__clone()
S
91 1 2
getProgress()
S
82 1 3
getToken()
S
82 1 3
getCurrentUploadChunksCount()
S
82 1 3
getActionId()
S
82 1 3
getState()
S
82 1 3
getPendingStorageUploads()
S
82 1 3
setDelegate()
S
81 1 3
setState()
S
81 1 3
setToken()
S
81 1 3
setPendingStorageUploads()
S
81 1 3
listStorage()
S
72 1 5