Branch Coverage

blib/lib/Business/OnlinePayment/TransactionCentral.pm
Criterion Covered Total %
branch 2 34 5.8


line true false branch
51 0 0 if ($content{'type'} =~ /^(cc|visa|mastercard|american express|discover)$/i) { }
0 0 elsif ($content{'type'} =~ /^e?check$/i) { }
55 0 0 if ($action =~ /^\s*normal\s*authorization\s*$/i) { }
0 0 elsif ($action =~ /^\s*authorization\s*only\s*$/i) { }
0 0 elsif ($action =~ /^\s*post\s*authorization\s*$/i) { }
0 0 elsif ($action =~ /^\s*(void|credit)\s*$/i) { }
62 0 0 unless $content{'expiration'} =~ /^(\d+)\D+\d*(\d{2})$/
65 0 0 if $month =~ /^\d$/
88 0 0 if ($action =~ /^\s*normal\s*authorization\s*$/i) { }
0 0 elsif ($action =~ /^\s*authorization\s*only\s*$/i) { }
0 0 elsif ($action =~ /^\s*post\s*authorization\s*$/i) { }
0 0 elsif ($action =~ /^\s*(void|credit)\s*$/i) { }
91 0 0 exists $content{'account_type'} && $content{'account_type'} =~ /^s/i ? :
136 0 0 /^(\w+)=(.*)$/ ? :
138 0 0 if ($Business::OnlinePayment::TransactionCentral::DEBUG)
144 0 0 if ($return{'Auth'} =~ /^\s*(\w+)\s*$/ and lc $1 ne 'declined') { }
167 6 66 ref $map{$_} ? :