Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
190 0 0 10 defined $str and defined $search
198 0 0 5 defined $str and defined $pattern
248 0 0 1 defined $str and defined $search
355 2 0 0 $PRIVATE and $item =~ /$PRIVATE/
615 1 1 2 @replace == 1 and ref $replace[0] eq 'ARRAY'

or 2 conditions

line l !l condition
206 2 0 $count ||= 1
289 1 10 $limit ||= 0
296 8 0 $size ||= 1
314 3 8 $offset ||= 0
394 0 1 $what ||= ''
445 4 4 $_[1] or 0
455 1 1 shift() || 0
524 2 0 $pattern ||= ''
603 2 2 $from ||= 0

or 3 conditions

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