blib/lib/Business/OnlinePayment/Vindicia/Select.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 49 | 32.6 |
line | l | !l | condition |
---|---|---|---|
469 | 0 | 4 | ref $self->{'mocked'} eq 'ARRAY' and scalar @{$self->{'mocked'};} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
297 | 0 | 0 | 1 | $ret->{'return'}{'returnString'} && $ret->{'return'}{'returnString'} eq 'OK' |
301 | 0 | 1 | 0 | exists $ret->{'response'} and ref $ret->{'response'} ne 'ARRAY' |
322 | 0 | 0 | 5 | $content->{'vindicia_nvp'} and ref $content->{'vindicia_nvp'} eq 'HASH' |
360 | 0 | 0 | 1 | $ret->{'return'}{'returnString'} && $ret->{'return'}{'returnString'} eq 'OK' |
364 | 1 | 0 | 0 | exists $ret->{'transactions'} and ref $ret->{'transactions'} ne 'ARRAY' |
419 | 0 | 0 | 1 | $ret->{'return'}{'returnString'} && $ret->{'return'}{'returnString'} eq 'OK' |
423 | 1 | 0 | 0 | exists $ret->{'response'} and ref $ret->{'response'} ne 'ARRAY' |
520 | 0 | 0 | 0 | ref $resp->{$t} eq 'HASH' and exists $resp->{$t}{'content'} || exists $resp->{$t}{'xmlns'} |
line | l | !l | condition |
---|---|---|---|
233 | 0 | 0 | $self->{'test_transaction'} || 0 |
320 | 0 | 5 | $content->{'currency'} || 'USD' |
358 | 1 | 0 | $content{'page'} // 0 |
1 | 0 | $content{'page_size'} // 100 | |
488 | 0 | 0 | eval { do { XMLin($response->{'content'})->{'soap:Body'}{$action . 'Response'} } } || {} |
576 | 8 | 0 | $ptr->{'password'} || '' |
684 | 4 | 0 | $common_mock->{$action}{$label} || die('Mock label not found, label: ' . $label . "\n") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
239 | 0 | 0 | 2 | lc $testMode eq 'sandbox' or lc $testMode eq 'test' |
0 | 1 | 1 | lc $testMode eq 'sandbox' or lc $testMode eq 'test' or $testMode eq '1' | |
520 | 0 | 0 | 0 | exists $resp->{$t}{'content'} || exists $resp->{$t}{'xmlns'} |