Condition Coverage

lib/Template/VMethods.pm
Criterion Covered Total %
condition 24 36 66.6


and 3 conditions

line !l l&&!r l&&r condition
197 0 0 10 defined $str and defined $search
205 0 0 5 defined $str and defined $pattern
255 0 0 1 defined $str and defined $search
362 2 0 0 $PRIVATE and $item =~ /$PRIVATE/
641 1 1 2 @replace == 1 and ref $replace[0] eq 'ARRAY'

or 2 conditions

line l !l condition
213 2 0 $count ||= 1
296 1 10 $limit ||= 0
303 8 0 $size ||= 1
321 3 8 $offset ||= 0
405 0 1 $what ||= ''
456 4 4 $_[1] or 0
466 1 1 shift() || 0
539 2 0 $pattern ||= ''
629 2 2 $from ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
229 6 1 54 $2 > $#$start || $2 == 0 || !defined($start->[$2])