SirvAPIClient D

Total Complexity 189
Dependencies 0
Dependents 1
Total lines 1,081
Lines of code 822
Logical lines of code 376
Comment lines 26
Methods 41
Properties 9

Methods 41

Method Rating Maintainability Complexity Lines of code
getStorageInfo()
D
27
30 138
setupS3Credentials()
B
44 19 42
sendRequest()
A
42 11 49
getUsersList()
A
49 11 31
getNewToken()
A
51 9 27
uploadImage()
A
48 7 35
registerAccount()
S
54 7 20
getFormatedFileSize()
S
55 7 18
get_http_code_text()
S
36 2 81
getAccountInfo()
S
59 6 14
search()
S
51 5 28
configFetching()
S
48 4 40
getContent()
S
56 5 17
preOperationCheck()
S
61 5 14
setupClientCredentials()
S
60 5 12
getProfiles()
S
59 4 16
getFileStat()
S
58 4 16
updateParentClassSettings()
S
59 4 14
configCDN()
S
54 3 23
fetchImage()
S
57 3 20
renameFile()
S
59 3 14
setMetaTitle()
S
60 3 13
setMetaDescription()
S
60 3 13
getFolderOptions()
S
62 3 12
deleteFile()
S
61 3 12
createFolder()
S
61 3 12
sirv_str_starts_with()
S
67 3 7
usersSortFunc()
S
70 3 6
clean_symbols()
S
56 1 17
setFolderOptions()
S
66 2 8
alphabeticallSortFunc()
S
79 1 3
muteRequests()
S
75 1 4
isMuted()
S
79 1 3
getLastResponse()
S
82 1 3
isTokenExpired()
S
80 1 3
getMuteError()
S
64 1 10
calcTime()
S
74 1 4
nullToken()
S
77 1 4
nullClientLogin()
S
66 1 9
isConnected()
S
82 1 3
__construct()
S
69 1 7