Condition Coverage

lib/Class/STL/Iterators.pm
Criterion Covered Total %
condition 32 72 44.4


and 3 conditions

line !l l&&!r l&&r condition
147 0 0 4 ref $c and $c->isa('Class::STL::Containers::Abstract')
0 0 4 ref $c and $c->isa('Class::STL::Containers::Abstract') and $c->can('push_front')
154 0 0 3 ref $c and $c->isa('Class::STL::Containers::Abstract')
0 0 3 ref $c and $c->isa('Class::STL::Containers::Abstract') and $c->can('push_back')
162 0 0 2 ref $c and $c->isa('Class::STL::Containers::Abstract')
0 0 2 ref $c and $c->isa('Class::STL::Containers::Abstract') and ref $i
0 0 2 ref $c and $c->isa('Class::STL::Containers::Abstract') and ref $i and $i->isa('Class::STL::Iterators::Abstract')
171 0 0 45 defined $iter_start and ref $iter_start
0 0 45 defined $iter_start and ref $iter_start and $iter_start->isa('Class::STL::Iterators::Abstract')
0 0 45 defined $iter_start and ref $iter_start and $iter_start->isa('Class::STL::Iterators::Abstract') and defined $iter_finish
0 0 45 defined $iter_start and ref $iter_start and $iter_start->isa('Class::STL::Iterators::Abstract') and defined $iter_finish and ref $iter_finish
0 0 45 defined $iter_start and ref $iter_start and $iter_start->isa('Class::STL::Iterators::Abstract') and defined $iter_finish and ref $iter_finish and $iter_finish->isa('Class::STL::Iterators::Abstract')
0 0 45 defined $iter_start and ref $iter_start and $iter_start->isa('Class::STL::Iterators::Abstract') and defined $iter_finish and ref $iter_finish and $iter_finish->isa('Class::STL::Iterators::Abstract') and $iter_start->p_container == $iter_finish->p_container
177 45 0 0 $iter_start->at_end and $iter_finish->at_end
220 0 46 3 !($self->at_end || $other->at_end) && $self->arr_idx > $other->arr_idx
228 2 5 33 !($self->at_end || $other->at_end) && $self->arr_idx >= $other->arr_idx
236 0 4 7 !($self->at_end || $other->at_end) && $self->arr_idx < $other->arr_idx
244 61 5 476 !($self->at_end || $other->at_end) && $self->arr_idx <= $other->arr_idx
342 0 0 5 ref $_ && $_->isa('Class::STL::Element')

or 3 conditions

line l !l&&r !l&&!r condition
91 0 0 2526 $self->arr_idx < 0 || $self->arr_idx >= $self->p_container->size
111 0 4 85 !$self->p_container->size || $self->arr_idx == 0
121 0 191 1553 !$self->p_container->size || $self->arr_idx + 1 >= $self->p_container->size
178 0 0 45 $iter_start->at_end or $iter_start->gt($iter_finish)
336 0 0 5 not $self->p_container->size or $self->at_end