Condition Coverage

blib/lib/Business/OnlinePayment/CardConnect.pm
Criterion Covered Total %
condition 5 21 23.8


and 3 conditions

line !l l&&!r l&&r condition
255 0 0 0 defined $content{'amount'} and not $content{'amount'} =~ /\./
336 1 0 0 defined $content{'products'} and scalar @{$content{'products'};} < 100
362 1 0 0 $content{'routing_code'} and $content{'account_number'}

or 2 conditions

line l !l condition
224 0 0 $self->{'test_transaction'} || 0
254 0 0 $$action_map{$content{'action'}} || die('Unsupported action: ' . $content{'action'})
370 0 0 $content{'currency'} || 'USD'
395 0 1 $content{'currency'} || 'USD'
486 1 0 $ptr->{'password'} || ''
0 1 $ptr->{'ftp_password'} || ''