Branch Coverage

blib/lib/Business/OnlinePayment/eSelectPlus.pm
Criterion Covered Total %
branch 1 50 2.0


line true false branch
36 0 0 if (defined $$self{'_content'}{'currency'} and $$self{'_content'}{'currency'} eq 'CAD') { }
45 0 0 if ($self->test_transaction)
46 0 0 if (defined $$self{'_content'}{'currency'} and $$self{'_content'}{'currency'} eq 'CAD') { }
96 0 0 if ($$self{'_content'}{'action'} =~ /^\s*normal\s*authorization\s*$/i) { }
0 0 elsif ($$self{'_content'}{'action'} =~ /^\s*authorization\s*only\s*$/i) { }
0 0 elsif ($$self{'_content'}{'action'} =~ /^\s*post\s*authorization\s*$/i) { }
0 0 elsif ($$self{'_content'}{'action'} =~ /^\s*void\s*$/i) { }
0 0 elsif ($$self{'_content'}{'action'} =~ /^\s*credit\s*$/i) { }
105 0 0 if ($$self{'_content'}{'authorization'}) { }
112 0 0 if ($action =~ /^(purchase|preauth|ind_refund)$/) { }
0 0 elsif ($action =~ /^(completion|purchasecorrection|refund)$/) { }
119 0 0 unless $$self{'_content'}{'expiration'} =~ /^(\d+)\D+\d*(\d{2})$/
122 0 0 if $month =~ /^\d$/
137 0 0 if ($action eq 'completion') { }
0 0 elsif ($action eq 'purchasecorrection') { }
149 0 0 unless defined $$self{'_content'}{'currency'} and $$self{'_content'}{'currency'} eq 'CAD'
166 0 0 if $Business::OnlinePayment::eSelectPlus::DEBUG > 1
170 0 0 if ($Business::OnlinePayment::eSelectPlus::DEBUG > 1)
175 0 0 unless ($response =~ /^200/)
202 0 0 defined $AvsResultCode && exists $avsTable{$AvsResultCode} ? :
213 0 0 if $result =~ /^null$/i
226 0 0 if ($result =~ /^\d+$/ and $result < 50) { }
0 0 elsif ($result =~ /^\d+$/) { }
236 0 0 $Business::OnlinePayment::eSelectPlus::DEBUG ? :
247 9 0 unless (exists $$self{'_content'}{'order_id'} and defined $$self{'_content'}{'order_id'} and length $$self{'_content'}{'order_id'})