Condition Coverage

blib/lib/Text/Xslate/Bridge/TT2Like.pm
Criterion Covered Total %
condition 10 34 29.4


and 3 conditions

line !l l&&!r l&&r condition
126 0 0 1 defined $str and defined $search
134 0 0 2 defined $str and defined $pattern
184 0 0 1 defined $str and defined $search
501 0 0 1 @replace == 1 and ref $replace[0] eq 'ARRAY'
594 0 0 1 defined $iter and length $iter

or 2 conditions

line l !l condition
142 0 0 $count ||= 1
213 2 0 $size ||= 1
231 0 2 $offset ||= 0
288 0 0 $what ||= ''
333 0 1 $_[1] or 0
343 0 0 shift() || 0
410 1 0 $pattern ||= ''
489 1 0 $from ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
158 0 0 0 $2 > $#$start || $2 == 0