| blib/lib/Business/OnlinePayment/IPPay.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 57 | 19.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 116 | 9 | 0 | 0 | $content{'recurring_billing'} and $content{'recurring_billing'} eq 'YES' |
| 126 | 12 | 0 | 6 | defined $exp and $exp =~ /^(\d+)\D+\d*\d{2}$/ |
| 12 | 0 | 0 | defined $exp and $exp =~ /^(\d{2})\d{2}$/ | |
| 137 | 12 | 0 | 6 | defined $exp and $exp =~ /^\d+\D+\d*(\d{2})$/ |
| 12 | 0 | 0 | defined $exp and $exp =~ /^\d{2}(\d{2})$/ | |
| 177 | 0 | 0 | 0 | $action eq 'authorization only' and $type eq 'CC' |
| 0 | 0 | 0 | $action eq 'post authorization' and $type eq 'CC' | |
| 391 | 0 | 0 | 0 | exists $response->{'ActionCode'} and not exists $response->{'ErrMsg'} |
| line | l | !l | condition |
|---|---|---|---|
| 254 | 0 | 0 | $content{'check_number'} || '100' |
| 400 | 0 | 0 | $response->{'ActionCode'} || '' |
| 401 | 0 | 0 | $response->{'TransactionID'} || '' |
| 402 | 0 | 0 | $response->{'Approval'} || '' |
| 403 | 0 | 0 | $response->{'CVV2'} || '' |
| 404 | 0 | 0 | $response->{'AVS'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 83 | 9 | 0 | 0 | $types{lc $content{'type'}} || $content{'type'} |
| 101 | 6 | 0 | 0 | $actions{$action} || $action |
| 103 | 3 | 0 | 0 | $check_actions{$action} || $action |
| 113 | 0 | 0 | 9 | $account_types{lc $content{'account_type'}} || $content{'account_type'} |
| 177 | 0 | 0 | 0 | $action eq 'normal authorization' or $action eq 'credit' |
| 0 | 0 | 0 | $action eq 'normal authorization' or $action eq 'credit' or $action eq 'authorization only' and $type eq 'CC' | |
| 302 | 0 | 0 | 0 | $type ne 'CC' or keys %shippingaddr |