Percentage | Lines | ||
---|---|---|---|
GetNearestPostOffice |
|
91 % | 38 |
ServiceFactory |
|
100 % | 19 |
Service |
|
100 % | 83 |
CRAP Score | Lines | ||
---|---|---|---|
GetNearestPostOffice::getUri() | 5 | 25 | |
Service::getParameter() | 2 | 5 | |
Service::hasParameter() | 1 | 4 | |
Service::getBaseUrl() | 1 | 4 | |
Service::__construct() | 1 | 6 | |
Service::setLanguage() | 1 | 5 | |
Service::setHeader() | 1 | 5 | |
Service::setParameter() | 1 | 5 | |
Service::send() | 1 | 17 | |
ServiceFactory::__construct() | 1 | 6 | |