| blib/lib/Business/OnlinePayment/PlugnPay.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 1 | 33 | 3.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 119 | 0 | 0 | 4 | defined $expiration and $expiration =~ /^(\d+)\D+\d*(\d{2})$/ |
| 133 | 0 | 0 | 0 | exists $content{$_} and defined $content{$_} |
| 0 | 0 | 0 | exists $content{$_} and defined $content{$_} and $content{$_} =~ /\S+/ | |
| 221 | 0 | 0 | 0 | $shipping_params{$_} and $shipping_params{$_} =~ /^\s*$/ |
| 270 | 0 | 0 | 0 | $resp =~ /^(HTTP\S+ )?200/ and $results{'FinalStatus'} eq 'success' || $results{'FinalStatus'} eq 'pending' && $results{'mode'} eq 'newreturn' |
| line | l | !l | condition |
|---|---|---|---|
| 17 | 0 | 0 | shift() || 0 |
| 215 | 0 | 0 | $content{'ship_first_name'} || '' |
| 0 | 0 | $content{'ship_last_name'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 26 | 0 | 0 | 0 | $$self{'__DEBUG'} || $Business::OnlinePayment::PlugnPay::DEBUG |
| 71 | 0 | 0 | 0 | $actions{lc $content{'action'}} || $content{'action'} |
| 84 | 0 | 0 | 0 | $types{lc $content{'type'}} || $content{'type'} |
| 270 | 0 | 0 | 0 | $results{'FinalStatus'} eq 'success' || $results{'FinalStatus'} eq 'pending' && $results{'mode'} eq 'newreturn' |