Branch Coverage

blib/lib/Hash/Iterator.pm
Criterion Covered Total %
branch 18 30 60.0


line true false branch
17 0 8 unless @_ % 2 == 0
42 0 0 $self->_get_position == $self->_get_LengthKeys ? :
50 1 14 unless (%{$self->{'Data'};})
54 12 2 if ($self->{'LengthKeys'} > $self->{'CurrentState'}) { }
66 1 1 if (int $self->{'CurrentState'} != -1 and int $self->{'PreviousState'} != -1)
79 9 0 if $key
87 2 6 if (ref $value eq 'HASH') { }
2 4 elsif (ref $value eq 'ARRAY') { }
103 4 7 if (ref $value eq $ref)
117 0 19 if $@
119 19 0 if $CurrentValue
130 0 9 if $@
132 9 0 if $curKey
139 0 0 wantarray ? :
146 0 0 wantarray ? :