| Percentage | Lines | ||
|---|---|---|---|
| UnauthorizedException |
|
0 % | 2 |
| FailedActionException |
|
0 % | 2 |
| InvalidDataException |
|
60 % | 29 |
| Status |
|
100 % | 25 |
| ManagesAccounts |
|
100 % | 16 |
| Resource |
|
100 % | 8 |
| NotFoundException |
|
100 % | 8 |
| Priority |
|
100 % | 25 |
| Project |
|
100 % | 25 |
| Account |
|
100 % | 25 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Client::handleRequestError() | 5 | 19 | |
| Client::request() | 3 | 15 | |
| InvalidDataException::data() | 2 | 3 | |
| ManagesProjects::projects() | 2 | 7 | |
| Validator::keysExists() | 2 | 7 | |
| Validator::isArray() | 2 | 7 | |
| Validator::isInteger() | 2 | 7 | |
| Validator::isString() | 2 | 7 | |
| Validator::keyExists() | 2 | 7 | |
| InvalidDataException::__construct() | 1 | 5 | |