Branch Coverage

blib/lib/Business/OnlinePayment/BankOfAmerica.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
35 0 0 ref $map{$_} ? :
52 0 0 if (@_)
65 0 0 if $action eq 'normal authorization'
71 0 0 if ($action eq 'authorization only') { }
0 0 elsif ($action eq 'credit') { }
0 0 elsif ($action eq 'post authorization') { }
110 0 0 unless ($action eq 'post authorization')
112 0 0 if ($self->transaction_type =~ /^(cc|visa|mastercard|american express|discover)$/i) { }
120 0 0 unless $content{'expiration'} =~ /^(\d+)\D+(\d+)$/
124 0 0 if $year < 2000
171 0 0 unless $action eq 'post authorization'
176 0 0 if ($action eq 'post authorization') { }
181 0 0 unless /^(\w+)\=(.*)$/ or /^()()$/
187 0 0 unless /^(\w+)\=(.*)$/
197 0 0 if ($response{'ioc_response_code'} eq '0') { }
205 0 0 $action eq 'post authorization' ? :
209 0 0 if $response{'ioc_missing_fields'}
211 0 0 if $response{'ioc_invalid_fields'}