Branch Coverage

blib/lib/Business/OnlinePayment/USAePay.pm
Criterion Covered Total %
branch 21 34 61.7


line true false branch
75 27 2 if ($content{'type'} eq 'CC') { }
2 0 elsif ($content{'type'} eq 'ECHECK') { }
82 27 2 if exists $content{'expiration'}
84 116 29 defined $content{$_} ? :
85 29 0 if defined $content{'password'}
121 0 29 if ($Business::OnlinePayment::USAePay::DEBUG)
128 27 2 if ($self->transaction_type eq 'CC') { }
2 0 elsif ($self->transaction_type eq 'ECHECK') { }
129 0 27 if ($action eq 'void' or $action eq 'capture') { }
135 0 27 if ($action eq 'postauth')
163 29 0 if $test & 2
164 0 29 $test & 1 ? :
167 0 29 if ($Business::OnlinePayment::USAePay::DEBUG)
172 0 29 if ($Business::OnlinePayment::USAePay::DEBUG)
177 29 0 if ($server_response =~ /200/) { }
187 0 29 if ($Business::OnlinePayment::USAePay::DEBUG)
191 0 29 if ($$response{'UMstatus'} =~ /^Approved/) { }