Branch Coverage

blib/lib/Business/OnlinePayment/NMI.pm
Criterion Covered Total %
branch 6 36 16.6


line true false branch
145 0 9 if ($self->test_transaction)
151 0 9 unless $content{'payment'} = $types{lc $content{'type'}}
152 0 9 unless $content{'action'} = $actions{lc $content{'action'}}
154 3 6 if defined $content{'expiration'}
159 0 9 $content{'ship_first_name'} ? :
174 0 0 if ($Business::OnlinePayment::NMI::DEBUG >= 3)
179 0 0 if exists $required{$type}
180 0 0 if exists $required{"${type}:$payment"}
186 0 0 if exists $optional{$type}
187 0 0 if exists $required{"${type}:$payment"}
191 0 0 if ($Business::OnlinePayment::NMI::DEBUG)
196 0 0 if ($Business::OnlinePayment::NMI::DEBUG)
201 0 0 if ($server_response =~ /200/) { }
211 0 0 if ($Business::OnlinePayment::NMI::DEBUG)
217 0 0 if ($$response{'response'} == 1) { }
0 0 elsif ($$response{'response'} == 2) { }
0 0 elsif ($$response{'response'} == 3) { }
223 0 0 if exists $failure_status{$code}