Percentage | Lines | ||
---|---|---|---|
Location |
|
100 % | 48 |
LocationMapper |
|
100 % | 16 |
DeliveryOptionHtmlMapper |
|
100 % | 37 |
HttpClient |
|
100 % | 123 |
DeliveryOption |
|
100 % | 86 |
Collection |
|
100 % | 28 |
Package |
|
100 % | 67 |
Weight |
|
100 % | 95 |
Jne |
|
100 % | 116 |
CRAP Score | Lines | ||
---|---|---|---|
Jne::httpClient() | 2 | 8 | |
Collection::fromHtml() | 1 | 4 | |
DeliveryOption::__construct() | 1 | 7 | |
DeliveryOption::service() | 1 | 4 | |
DeliveryOption::type() | 1 | 4 | |
DeliveryOption::tariff() | 1 | 4 | |
DeliveryOption::estimatedDays() | 1 | 4 | |
HttpClient::__construct() | 1 | 16 | |
HttpClient::baseUri() | 1 | 4 | |
HttpClient::get() | 1 | 4 | |