Percentage | Lines | ||
---|---|---|---|
AllInOne |
|
0 % | 14 |
EcpayLogisticsCvsGatewayFactory |
|
0 % | 14 |
EcpayLogisticsApi |
|
32 % | 385 |
Api |
|
33 % | 39 |
BaseApiAwareAction |
|
80 % | 19 |
EcpayApi |
|
88 % | 167 |
CancelTransactionAction |
|
100 % | 26 |
RefundTransactionAction |
|
100 % | 26 |
CancelAction |
|
100 % | 28 |
CaptureLogisticsAction |
|
100 % | 71 |
CRAP Score | Lines | ||
---|---|---|---|
StatusLogisticsAction::execute() | 15 | 76 | |
CaptureLogisticsAction::execute() | 13 | 50 | |
EcpayLogisticsApi::refundTransaction() | 12 | 67 | |
EcpayLogisticsApi::cancelTransaction() | 12 | 30 | |
EcpayLogisticsApi::createTransaction() | 10 | 78 | |
StatusAction::execute() | 9 | 43 | |
CreateTransactionAction::execute() | 9 | 32 | |
Api::verifyHash() | 6 | 11 | |
CaptureAction::execute() | 5 | 32 | |
FormToArrayTrait::formToArray() | 5 | 15 | |