Branch Coverage

lib/Config/HAProxy/Iterator.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
17 20 0 if ($node->is_section) { }
23 16 4 if (defined $_{'recursive'}) { }
4 0 elsif ($_{'inorder'}) { }
0 0 elsif ($_{'postorder'}) { }
42 52 56 if ($self->{'_itr'})
43 36 16 if (defined(my $v = $self->{'_itr'}->next)) { }
47 0 16 if $self->postorder
51 52 20 if (defined($self->{'_cur'} = shift @{$$self{'_list'};}))
52 16 36 if ($self->recursive and $self->{'_cur'}->is_section)
54 16 0 if ($self->inorder) { }