Branch Coverage

blib/lib/Business/OnlinePayment/PlugnPay.pm
Criterion Covered Total %
branch 3 40 7.5


line true false branch
16 0 0 if (@_)
18 0 0 if (ref $self) { }
26 0 0 ref $self ? :
44 0 2 if ($opts{'debug'})
51 0 0 unless $key =~ /^default_(\w*)$/
96 0 0 if lc $content{'recurring_billing'} eq 'yes'
109 0 0 ref $map{$_} ? :
119 4 0 if (defined $expiration and $expiration =~ /^(\d+)\D+\d*(\d{2})$/)
123 4 0 defined $expdate_mmyy ? :
133 0 0 if exists $content{$_} and defined $content{$_} and $content{$_} =~ /\S+/
137 0 0 if @missing
145 0 0 if $self->test_transaction
182 0 0 unless (exists $required{$type_action})
221 0 0 if ($shipping_params{$_} and $shipping_params{$_} =~ /^\s*$/)
225 0 0 if scalar keys %shipping_params
233 0 0 if $params{'mode'} eq 'void'
236 0 0 unless exists $params{$_}
242 0 0 if $Business::OnlinePayment::PlugnPay::DEBUG > 1
250 0 0 if $Business::OnlinePayment::PlugnPay::DEBUG > 1
270 0 0 if ($resp =~ /^(HTTP\S+ )?200/ and $results{'FinalStatus'} eq 'success' || $results{'FinalStatus'} eq 'pending' && $results{'mode'} eq 'newreturn') { }