Condition Coverage

lib/Class/STL/Algorithms.pm
Criterion Covered Total %
condition 117 190 61.5


and 3 conditions

line !l l&&!r l&&r condition
100 0 28 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
169 0 63 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::AbstracTree')
196 4 0 20 $iter <= $iter_finish and not $iter2->at_end
203 0 20 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::AbstracTree')
229 2 1 49 $iter != $iter_prev and $iter <= $iter_finish
231 0 49 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
19 22 8 defined $binary_op and $binary_op->function_operator($iter_prev->p_element, $iter->p_element)
22 11 8 not defined $binary_op and $iter_prev->p_element->eq($iter->p_element)
262 0 2 38 $iter != $iter_prev and $iter <= $iter_finish
264 19 8 11 defined $binary_op and not $binary_op->function_operator($iter_prev->p_element, $iter->p_element)
284 2 1 1 defined $binary_op and $binary_op->function_operator($iter->p_element, $iter_next->p_element)
1 1 1 not defined $binary_op and $iter_next->p_element->eq($iter->p_element)
323 7 5 2 defined $binary_op and $binary_op->function_operator($iter->p_element, $iter_min->p_element)
5 5 2 not defined $binary_op and $iter->p_element->lt($iter_min->p_element)
341 7 4 3 defined $binary_op and not $binary_op->function_operator($iter->p_element, $iter_min->p_element)
364 9 4 1 defined $binary_op and $binary_op->function_operator($iter->p_element, $iter2->p_element) == 0
4 8 1 not defined $binary_op and $iter->p_element->eq($iter2->p_element) == 0
430 0 0 0 ref $iter->p_element && $iter->p_element->isa('Class::STL::Containers::Tree')
444 0 4 0 ref $iter->p_element && $iter->p_element->isa('Class::STL::Containers::Tree')
460 0 3 0 ref $iter->p_element && $iter->p_element->isa('Class::STL::Containers::Tree')
471 2 0 0 ref $element and $element->isa('Class::STL::Element')
476 0 5 0 ref $iter->p_element && $iter->p_element->isa('Class::STL::Containers::Tree')
487 2 0 0 ref $element and $element->isa('Class::STL::Element')
494 0 2 0 ref $iter->p_element && $iter->p_element->isa('Class::STL::Containers::Tree')
508 0 8 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
527 1 0 3 ref $element and $element->isa('Class::STL::Element')
532 0 12 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
555 0 50 0 ref $iter->p_element && $iter->p_element->isa('Class::STL::Containers::Tree')
567 0 0 1 ref $element and $element->isa('Class::STL::Element')
573 0 9 0 ref $iter->p_element && $iter->p_element->isa('Class::STL::Containers::Tree')
588 0 18 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
605 0 0 2 ref $element and $element->isa('Class::STL::Element')
610 0 13 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
631 0 9 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
648 0 0 1 ref $element and $element->isa('Class::STL::Element')
653 0 9 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
694 0 0 1 ref $new_element and $new_element->isa('Class::STL::Element')
699 0 10 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
721 0 0 1 ref $old_element and $old_element->isa('Class::STL::Element')
723 0 0 1 ref $new_element and $new_element->isa('Class::STL::Element')
728 0 10 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
751 0 0 1 ref $new_element and $new_element->isa('Class::STL::Element')
756 0 9 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
776 0 0 1 ref $old_element and $old_element->isa('Class::STL::Element')
778 0 0 1 ref $new_element and $new_element->isa('Class::STL::Element')
783 0 9 0 ref $iter->p_element and $iter->p_element->isa('Class::STL::Containers::Tree')
814 3 295 0 $format[$arg] ne 'S' and not ref $_[$arg]
816 0 167 131 defined $_[$arg] and $format[$arg] eq 'I' && $_[$arg]->isa('Class::STL::Iterators::Abstract') || $format[$arg] eq 'F' && $_[$arg]->isa('Class::STL::Utilities::FunctionObject') || $format[$arg] eq 'B' && $_[$arg]->isa('Class::STL::Utilities::FunctionObject::BinaryFunction') || $format[$arg] eq 'U' && $_[$arg]->isa('Class::STL::Utilities::FunctionObject::UnaryFunction') || $format[$arg] eq 'G' && $_[$arg]->isa('Class::STL::Utilities::FunctionObject::Generator') || $format[$arg] eq 'E' && $_[$arg]->isa('Class::STL::Element') || $format[$arg] eq 'S' && !ref($_[$arg])

or 2 conditions

line l !l condition
93 1 2 shift() || undef
146 2 2 shift() || undef
227 2 1 shift() || undef
259 1 1 shift() || undef
280 1 1 shift() || undef
319 1 1 shift() || undef
337 1 1 shift() || undef
356 2 3 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
231 8 0 41 defined $binary_op and $binary_op->function_operator($iter_prev->p_element, $iter->p_element) or not defined $binary_op and $iter_prev->p_element->eq($iter->p_element)
264 8 8 11 defined $binary_op || $iter_prev->p_element->eq($iter->p_element)
11 11 16 defined $binary_op and not $binary_op->function_operator($iter_prev->p_element, $iter->p_element) or not defined $binary_op || $iter_prev->p_element->eq($iter->p_element)
284 1 1 2 defined $binary_op and $binary_op->function_operator($iter->p_element, $iter_next->p_element) or not defined $binary_op and $iter_next->p_element->eq($iter->p_element)
323 2 2 10 defined $binary_op and $binary_op->function_operator($iter->p_element, $iter_min->p_element) or not defined $binary_op and $iter->p_element->lt($iter_min->p_element)
341 4 4 3 defined $binary_op || $iter->p_element->lt($iter_min->p_element)
3 3 8 defined $binary_op and not $binary_op->function_operator($iter->p_element, $iter_min->p_element) or not defined $binary_op || $iter->p_element->lt($iter_min->p_element)
364 0 1 13 $iter2->at_end or defined $binary_op and $binary_op->function_operator($iter->p_element, $iter2->p_element) == 0
1 5 8 $iter2->at_end or defined $binary_op and $binary_op->function_operator($iter->p_element, $iter2->p_element) == 0 or not defined $binary_op and $iter->p_element->eq($iter2->p_element) == 0
816 21 3 0 $format[$arg] eq 'I' && $_[$arg]->isa('Class::STL::Iterators::Abstract') || $format[$arg] eq 'F' && $_[$arg]->isa('Class::STL::Utilities::FunctionObject') || $format[$arg] eq 'B' && $_[$arg]->isa('Class::STL::Utilities::FunctionObject::BinaryFunction') || $format[$arg] eq 'U' && $_[$arg]->isa('Class::STL::Utilities::FunctionObject::UnaryFunction') || $format[$arg] eq 'G' && $_[$arg]->isa('Class::STL::Utilities::FunctionObject::Generator') || $format[$arg] eq 'E' && $_[$arg]->isa('Class::STL::Element') || $format[$arg] eq 'S' && !ref($_[$arg])