Branch Coverage

blib/lib/Business/OnlinePayment/TransFirsteLink.pm
Criterion Covered Total %
branch 4 60 6.6


line true false branch
204 0 0 if (@_)
206 0 0 if (ref $self) { }
214 0 0 ref $self ? :
234 0 2 if ($opts{'debug'})
239 0 2 if ($opts{'merchantcustservnum'})
288 0 0 ref $map{$_} ? :
298 4 0 if (defined $expiration and $expiration =~ /^(\d+)\D+\d*(\d{2})$/)
302 4 0 defined $expdate_mmyy ? :
312 0 0 if exists $content{$_} and defined $content{$_} and $content{$_} =~ /\S+/
316 0 0 if @missing
377 0 0 unless (exists $required{$type_action})
395 0 0 $self->transaction_type eq 'CC' ? :
449 0 0 if $self->test_transaction
451 0 0 unless $params{'InstallmentNum'} and $params{'InstallmentOf'}
454 0 0 if ($self->transaction_type eq 'ECHECK')
459 0 0 if ($type_action eq 'CC_30' or $type_action eq 'CC_32') { }
0 0 elsif ($type_action eq 'CC_61') { }
0 0 elsif ($type_action eq 'CC_20') { }
0 0 elsif ($type_action eq 'ECHECK_32') { }
0 0 elsif ($type_action eq 'ECHECK_20') { }
473 0 0 if $Business::OnlinePayment::TransFirsteLink::DEBUG > 1
481 0 0 if $Business::OnlinePayment::TransFirsteLink::DEBUG > 1
489 0 0 if ($type_action eq 'CC_30' or $type_action eq 'CC_32') { }
0 0 elsif ($type_action eq 'CC_61') { }
0 0 elsif ($type_action eq 'CC_20') { }
0 0 elsif ($type_action eq 'ECHECK_32') { }
0 0 elsif ($type_action eq 'ECHECK_20') { }
538 0 0 $errors ? :
550 0 0 $errors ? :
558 0 0 if ($resp =~ /^(HTTP\S+ )?200/ and $status eq '000' || $status eq '011' || $status eq '085' || $status eq '0P0' || $status eq 'P00' || $status eq 'ACCEPTED') { }