Condition Coverage

blib/lib/HTML/Template/Plugin/Dot.pm
Criterion Covered Total %
condition 31 39 79.4


and 3 conditions

line !l l&&!r l&&r condition
33 84 43 0 $$self{'param_map_done'}{$param} and not $$self{'num_vars_left_in_loop'}
41 0 11 2 defined $value_type and length $value_type
11 2 0 defined $value_type and length $value_type and $value_type eq 'ARRAY' || !(ref($value) =~ /^(CODE)|(HASH)|(SCALAR)$/) && $value->isa('ARRAY')
47 134 25 0 defined $dot_value_type && length $dot_value_type && ($dot_value_type eq 'ARRAY' || ref $value_for_tmpl && !(ref($value_for_tmpl) =~ /^(CODE)|(HASH)|(SCALAR)$/) && $value_for_tmpl->isa('ARRAY'))
168 1 118 80 ref $ref and blessed $ref
277 1 140 23 not $the_rest and $want_loop
278 6 1 16 $#results == 0 && ref $results[0] eq 'ARRAY'

or 3 conditions

line l !l&&r !l&&!r condition
41 2 0 0 $value_type eq 'ARRAY' || !(ref($value) =~ /^(CODE)|(HASH)|(SCALAR)$/) && $value->isa('ARRAY')
158 98 70 0 $$self{'param_map_done'}{$one} ||= $ref
231 22 42 7 $the_rest or not $want_loop
234 4 54 2 $$self{'param_map_done'}{$one} ||= $ref
254 0 6 1 $the_rest or not $want_loop
266 10 93 15 $the_rest or not $want_loop