Percentage | Lines | ||
---|---|---|---|
Credential |
|
100 % | 42 |
ServiceUnavailableException |
|
100 % | 11 |
Chargeback |
|
100 % | 185 |
ExceptionAbstract |
|
100 % | 74 |
CurlClient |
|
100 % | 165 |
Manager |
|
100 % | 69 |
CRAP Score | Lines | ||
---|---|---|---|
CurlClient::getMaxMindExceptionByCodeAndMessage() | 11 | 26 | |
Chargeback::toArray() | 6 | 29 | |
CurlClient::report() | 5 | 21 | |
CurlClient::isValidMaxMindResponse() | 4 | 12 | |
Chargeback::setFraudScore() | 2 | 14 | |
CurlClient::__construct() | 2 | 8 | |
Manager::__construct() | 2 | 5 | |
Credential::__construct() | 1 | 8 | |
Credential::getUser() | 1 | 4 | |
Credential::getPassword() | 1 | 4 | |