Percentage | Lines | ||
---|---|---|---|
BaseApiAwareAction |
|
80 % | 19 |
Api |
|
92 % | 297 |
CancelTransactionAction |
|
100 % | 28 |
CreateTransactionAction |
|
100 % | 29 |
GetTransactionDataAction |
|
100 % | 26 |
RefundTransactionAction |
|
100 % | 28 |
CancelAction |
|
100 % | 28 |
CaptureAction |
|
100 % | 49 |
ConvertPaymentAction |
|
100 % | 33 |
RefundAction |
|
100 % | 28 |
CRAP Score | Lines | ||
---|---|---|---|
Api::parseResponse() | 7 | 32 | |
StatusAction::execute() | 6 | 29 | |
Api::isMobile() | 5 | 10 | |
CaptureAction::execute() | 5 | 29 | |
Encrypter::encrypt() | 4 | 15 | |
Api::getApiEndpoint() | 4 | 20 | |
Api::createTransaction() | 3 | 37 | |
ConvertPaymentAction::supports() | 3 | 7 | |
Api::doRequest() | 3 | 16 | |
BaseApiAwareAction::setApi() | 2 | 8 | |