| Percentage | Lines | ||
|---|---|---|---|
| AbstractApi |
|
84 % | 145 |
| ClientBuilder |
|
100 % | 73 |
| RequestBuilder |
|
100 % | 39 |
| ArrayHydrator |
|
100 % | 29 |
| ModelHydrator |
|
100 % | 48 |
| ApiClient |
|
100 % | 65 |
| CRAP Score | Lines | ||
|---|---|---|---|
| AbstractApi::handleErrors() | 6 | 11 | |
| ModelHydrator::hydrate() | 4 | 23 | |
| AbstractApi::createJsonBody() | 3 | 4 | |
| ArrayHydrator::hydrate() | 3 | 19 | |
| AbstractApi::get() | 2 | 10 | |
| ClientBuilder::appendPlugin() | 2 | 8 | |
| ClientBuilder::prependPlugin() | 2 | 9 | |
| AbstractApi::__construct() | 1 | 6 | |
| AbstractApi::post() | 1 | 4 | |
| AbstractApi::postRaw() | 1 | 6 | |