Condition Coverage

blib/lib/SF/SF_form_secure.pm
Criterion Covered Total %
condition 13 64 20.3


and 3 conditions

line !l l&&!r l&&r condition
42 2 0 0 $act eq 1 and $link
2 0 0 $act eq 1 and $link and $code
2 0 0 $act eq 2 and $code
2 0 0 $act eq 3 and $code
1 1 0 $act eq 4 and $code
0 1 0 $act eq 5 and $code
0 0 1 $act eq 5 and $code and $ref
81 0 0 0 $ref and $ref ne $REF
139 0 0 0 not $QRY =~ /;Flex=(.+?)$/i and $QRY eq $link
196 1 0 0 $expdate and $expdate =~ /^([0-9]+)$/i
1 0 0 $expdate and $expdate =~ /^([0-9]+)$/i and length $expdate <= 2
0 0 0 $expdate and $expdate =~ /^([0-9]+)$/i and length $expdate <= 2 and $datein < $date
233 1 0 0 $limit =~ /^([0-9]+)$/i and length $limit <= 2

or 2 conditions

line l !l condition
55 0 0 $ENV{'HTTP_REFERER'} || ''
56 0 0 $ENV{'QUERY_STRING'} || ''
60 0 0 $ENV{'HTTP_HOST'} || ''
111 0 0 $1 || ''
112 0 0 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
59 0 0 0 $link =~ /^(1|3)$/i or $ref
86 0 0 0 $link == 1 or $link == 3
107 0 0 0 $link == 2 or $link == 3
212 0 0 1 length $codein < 40 or length $codein > 40
218 0 0 1 length $datein < 10 or length $datein > 10