Percentage | Lines | ||
---|---|---|---|
Encrypter |
|
53 % | 153 |
BaseApiAwareAction |
|
80 % | 19 |
MypayGatewayFactory |
|
80 % | 128 |
Api |
|
97 % | 315 |
GetTransactionDataAction |
|
100 % | 26 |
NotifyAction |
|
100 % | 36 |
NotifyNullAction |
|
100 % | 31 |
CancelTransactionAction |
|
100 % | 28 |
RefundTransactionAction |
|
100 % | 28 |
CancelAction |
|
100 % | 28 |
CRAP Score | Lines | ||
---|---|---|---|
Encrypter::pkcs5Unpad() | 12 | 13 | |
StatusAction::execute() | 10 | 56 | |
Api::createTransaction() | 9 | 123 | |
MypayGatewayFactory::getDefaultHttpClient() | 4 | 45 | |
Api::doRequest() | 4 | 21 | |
CreateTransactionAction::execute() | 4 | 20 | |
CaptureAction::execute() | 4 | 31 | |
ConvertPaymentAction::supports() | 3 | 7 | |
MypayGatewayFactory::getClientIp() | 3 | 19 | |
MypayGatewayFactory::populateConfig() | 3 | 44 | |