Branch Coverage

blib/lib/Config/Model/SearchElement.pm
Criterion Covered Total %
branch 38 48 79.1


line true false branch
27 0 16 unless $self->{$p} = delete $args{$p}
53 0 103 if defined $found_ref->{$class}
65 55 474 defined $cargo ? :
69 55 474 defined $cargo ? :
72 76 453 if ($element_type =~ /(warped_)?node/ or $c_type =~ /(warped_)?node/) { }
74 57 19 $element_type eq 'node' || $c_type eq 'node' ? :
95 0 19 ref $ref eq 'HASH' ? :
99 0 38 ref $res ? :
122 0 7 unless $self->{$p} = delete $args{$p}
128 0 7 unless (defined $self->{'search_tree'})
160 1 22 if ($current_obj->get_type =~ /list|hash/) { }
166 0 8 defined $next_step ? :
14 8 ref $next_step ? :
174 0 23 wantarray ? :
184 3 4 if scalar @$result != 1
197 1 16 if ($obj->get_type =~ /hash|list/) { }
230 0 16 if (ref $next and not defined $next->{$choice})
241 9 7 if ($next->{$choice}) { }
245 4 5 if (defined $data->{'next_class'})
248 0 4 unless (defined $data)
281 5 9 if (scalar @$next_step == 0)
287 6 3 scalar @$next_step == 1 ? :
302 2 7 if ($elt_type =~ /list|hash/)
306 1 1 @choice == 1 ? :