Percentage | Lines | ||
---|---|---|---|
Encrypter |
|
0 % | 69 |
BaseApiAwareAction |
|
80 % | 19 |
Api |
|
97 % | 125 |
CancelTransactionAction |
|
100 % | 28 |
GetTransactionDataAction |
|
100 % | 26 |
RefundTransactionAction |
|
100 % | 28 |
CancelAction |
|
100 % | 28 |
CaptureAction |
|
100 % | 65 |
ConvertPaymentAction |
|
100 % | 38 |
RefundAction |
|
100 % | 28 |
CRAP Score | Lines | ||
---|---|---|---|
Encrypter::filter() | 12 | 11 | |
Encrypter::encrypt() | 12 | 10 | |
StatusAction::execute() | 11 | 82 | |
CollectCvsApi::parseResponseXML() | 6 | 50 | |
Api::doRequest() | 5 | 19 | |
CaptureAction::execute() | 5 | 44 | |
CollectCvsApi::createRequestXML() | 4 | 31 | |
ConvertPaymentAction::supports() | 3 | 7 | |
CollectCvsApi::createTransaction() | 3 | 38 | |
BaseApiAwareAction::setApi() | 2 | 8 | |