Condition Coverage

blib/lib/Business/OnlinePayment/SurePay.pm
Criterion Covered Total %
condition 19 44 43.1


and 3 conditions

line !l l&&!r l&&r condition
204 4 0 28 $_Max_Length{$label} and $_Max_Length{$label} > 0
207 32 0 0 $label eq 'email' and not $value =~ /\w+\@\w+/
208 32 0 0 $label eq 'phone' and length $value < 10
209 32 0 0 $label eq 'eveningphone' and length $value < 10
281 0 0 2 $value =~ /^\d+$/ and length $value <= 10
286 0 0 1 $value =~ /^\d+$/ and length $value <= 17
294 2 0 4 $_Max_Length{$label} and $_Max_Length{$label} > 0
357 0 0 0 defined $$self{'failure'} and $$self{'failure'} =~ /^true$/
422 0 0 2 $month =~ /\d\d/ and $year =~ /\d\d/
426 2 0 4 $_Max_Length{$label} and $_Max_Length{$label} > 0
503 8 0 2 $_Max_Length{$label} and $_Max_Length{$label} > 0

or 2 conditions

line l !l condition
492 2 0 $value ||= 0
496 0 2 $value ||= 0
558 0 2 $@ || 'null response'
626 0 2 $param{'debuglevel'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
272 2 0 0 $pref eq 'CreditCard' or $pref eq 'TeleCheck'