Condition Coverage

lib/Class/STL/Containers.pm
Criterion Covered Total %
condition 54 96 56.2


and 3 conditions

line !l l&&!r l&&r condition
84 6 26 217 not ref $p and int @_
32 212 5 not ref $p and int @_ and exists do { $self->members }->{$p} || $self->can($p)
238 0 6 ref $p and $p->isa('Class::STL::Iterators::Abstract')
238 0 0 ref $p and $p->isa('Class::STL::Containers::Abstract')
238 0 0 ref $p and $p->isa('Class::STL::Element')
156 0 0 418 ref $_ && $_->isa('Class::STL::Element')
180 0 0 229 defined $position and ref $position
0 0 229 defined $position and ref $position and $position->isa('Class::STL::Iterators::Abstract')
186 0 137 92 defined $_[0] and ref $_[0]
137 87 5 defined $_[0] and ref $_[0] and $_[0]->isa('Class::STL::Iterators::Abstract')
224 2 3 defined $_[0] and ref $_[0] and $_[0]->isa('Class::STL::Iterators::Abstract') and defined $_[1]
89 0 3 defined $_[0] and ref $_[0] and $_[0]->isa('Class::STL::Iterators::Abstract') and defined $_[1] and ref $_[1]
2 0 3 defined $_[0] and ref $_[0] and $_[0]->isa('Class::STL::Iterators::Abstract') and defined $_[1] and ref $_[1] and $_[1]->isa('Class::STL::Iterators::Abstract')
0 137 89 defined $_[0] and ref $_[0]
137 87 2 defined $_[0] and ref $_[0] and $_[0]->isa('Class::STL::Iterators::Abstract')
0 137 87 defined $_[0] and ref $_[0]
137 0 87 defined $_[0] and ref $_[0] and $_[0]->isa('Class::STL::Element')
0 0 137 defined $_[0] and defined $_[1]
0 0 137 defined $_[0] and defined $_[1] and ref $_[1]
0 0 137 defined $_[0] and defined $_[1] and ref $_[1] and $_[1]->isa('Class::STL::Element')
227 0 0 13 ref $_ && $_->isa('Class::STL::Element')
389 0 0 28 ref $_ && $_->isa('Class::STL::Element')

or 2 conditions

line l !l condition
305 0 95 shift() || undef
321 6 0 shift() || ''
375 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
84 5 0 212 exists do { $self->members }->{$p} || $self->can($p)
205 5 0 0 not $size or $position->at_end
227 14 52 13 !$size || $position->at_end
243 11 70 23 !$size || $position->at_end
257 3 36 0 shift() || $iter_start->clone
329 47 0 530 $i1->at_end || $i2->at_end
577 0 0 0 not $self->size or $d->ge($self->top)
642 0 0 0 ref $proto || $proto