Branch Coverage

blib/lib/Config/Model/Iterator.pm
Criterion Covered Total %
branch 38 50 76.0


line true false branch
34 0 1 if (delete $args{'experience'})
39 0 1 unless $self->{$p} = delete $args{$p}
44 2 1 if defined $args{$p}
53 0 2 unless $cb_hash{$item} = delete $args{$item}
77 0 1 if (%args)
126 35 197 unless defined $element
131 1 196 if $self->{'bail_out'}
162 14 6 $self->{'forward'} == 1 ? :
165 3 38 if ($self->{'call_back_on_important'} and $i == 0 and $level eq "important")
167 0 3 if $self->{'bail_out'}
172 0 41 if ($self->{'call_back_on_warning'} and $i == 0 and $node->fetch_element($element)->has_warning)
177 21 20 if ($i == 1)
178 15 6 $self->{'forward'} == 1 ? :
199 22 153 defined $index ? :
207 2 173 $elt_type eq 'check_list' ? :
216 19 156 if ($self->{'call_back_on_important'} and $level eq "important")
217 13 6 defined $index ? :
226 1 174 if ($self->{'call_back_on_warning'} and $value_obj->warning_msg)
227 0 1 defined $index ? :
241 3 172 if (ref $e and $e->isa('Config::Model::Exception::User')) { }
0 172 elsif (ref $e) { }
0 172 elsif ($e) { }
244 0 3 defined $index ? :
264 2 0 if $self->{'forward'} == -1
271 3 0 if $self->{'forward'} == 1