Condition Coverage

blib/lib/HTML/Template/Plugin/Dot.pm
Criterion Covered Total %
condition 42 51 82.3


and 3 conditions

line !l l&&!r l&&r condition
45 97 43 0 $self->{'param_map_done'}{$param} and not $self->{'num_vars_left_in_loop'}
54 0 13 2 defined $value_type and length $value_type
13 2 0 defined $value_type and length $value_type and $value_type eq 'ARRAY' || !(ref($value) =~ /^(CODE)|(HASH)|(SCALAR)$/) && $value->isa('ARRAY')
59 0 141 25 defined $dot_value_type and length $dot_value_type
141 2 23 defined $dot_value_type and length $dot_value_type and $dot_value_type eq 'ARRAY' || ref $value_for_tmpl && !(ref($value_for_tmpl) =~ /^(CODE)|(HASH)|(SCALAR)$/) && $value_for_tmpl->isa('ARRAY')
109 75 7 43 exists $self->{'_seen_exists_in_tmpl'} and exists $self->{'_seen_exists_in_tmpl'}{$param}
186 2 7 1 $ref->can("AUTOLOAD") and not $ref->isa("Test::MockObject")
290 1 147 23 not $the_rest and $want_loop
291 6 1 16 $#results == 0 && ref $results[0] eq 'ARRAY'

or 3 conditions

line l !l&&r !l&&!r condition
54 2 0 0 $value_type eq 'ARRAY' || !(ref($value) =~ /^(CODE)|(HASH)|(SCALAR)$/) && $value->isa('ARRAY')
59 23 0 2 $dot_value_type eq 'ARRAY' || ref $value_for_tmpl && !(ref($value_for_tmpl) =~ /^(CODE)|(HASH)|(SCALAR)$/) && $value_for_tmpl->isa('ARRAY')
175 98 78 0 $self->{'param_map_done'}{$one} ||= $ref
186 78 1 9 $ref->can($id) or $ref->can("AUTOLOAD") and not $ref->isa("Test::MockObject")
248 22 48 7 $the_rest or not $want_loop
251 5 60 1 $self->{'param_map_done'}{$one} ||= $ref
271 0 7 1 $the_rest or not $want_loop
282 10 93 15 $the_rest or not $want_loop