| Percentage | Lines | ||
|---|---|---|---|
| FileInfo |
|
0 % | 116 |
| FileUploadInfo |
|
0 % | 31 |
| HttpClientConfigurator |
|
0 % | 136 |
| UserStatus |
|
0 % | 23 |
| ApiClient |
|
0 % | 97 |
| MattermostAuthentication |
|
0 % | 91 |
| FileInfos |
|
0 % | 5 |
| ModelHydrator |
|
0 % | 23 |
| ArrayHydrator |
|
0 % | 12 |
| FilesApi |
|
50 % | 102 |
| CRAP Score | Lines | ||
|---|---|---|---|
| FilesApi::sendFile() | 56 | 27 | |
| UsersApi::updateProfileImage() | 30 | 18 | |
| ApiClient::__construct() | 20 | 8 | |
| HttpClientConfigurator::createConfiguredClient() | 20 | 17 | |
| MattermostAuthentication::getToken() | 20 | 32 | |
| ModelHydrator::hydrate() | 20 | 21 | |
| ArrayHydrator::hydrate() | 12 | 10 | |
| HttpClientConfigurator::setCredentials() | 12 | 10 | |
| HttpApi::handleErrors() | 7 | 21 | |
| MattermostAuthentication::authenticate() | 6 | 9 | |