| Percentage | Lines | ||
|---|---|---|---|
| ApiResponse |
|
0 % | 7 |
| ApiClient |
|
0 % | 63 |
| ArrayHydrator |
|
0 % | 17 |
| ModelHydrator |
|
0 % | 23 |
| NoopHydrator |
|
0 % | 10 |
| HttpApi |
|
0 % | 143 |
| Customer |
|
0 % | 107 |
| Invoice |
|
0 % | 128 |
| HttpClientConfigurator |
|
33 % | 124 |
| Invoice |
|
36 % | 674 |
| CRAP Score | Lines | ||
|---|---|---|---|
| HttpClientConfigurator::createConfiguredClient() | 30 | 28 | |
| HttpApi::handleErrors() | 30 | 25 | |
| ModelHydrator::hydrate() | 20 | 20 | |
| Customer::create() | 12 | 15 | |
| Customer::delete() | 12 | 15 | |
| HttpApi::createJsonBody() | 12 | 4 | |
| Invoice::create() | 12 | 15 | |
| ApiClient::__construct() | 12 | 9 | |
| ArrayHydrator::hydrate() | 12 | 14 | |
| Customer::all() | 12 | 15 | |