Condition Coverage

blib/lib/Number/Interval.pm
Criterion Covered Total %
condition 92 132 69.7


and 3 conditions

line !l l&&!r l&&r condition
240 0 0 1 $$self{'PosDef'} and not defined $self->min
314 2 3 0 defined $self->min and defined $self->max
345 0 0 6 defined $min and defined $max
358 2 0 2 $min <= 0 and $self->pos_def
387 23 17 74 defined $min and defined $max
404 21 15 48 defined $min and defined $max
442 13 0 0 $self->$incm and not $comparison->$incm
0 11 2 not $self->$incm and $comparison->$incm
489 0 0 6 defined $max and defined $min
490 6 0 0 $self->inc_max and $self->inc_min
514 2 2 18 defined $max and defined $min
515 11 2 2 $self->pos_def and $value < 0
13 0 0 $self->inc_max and $self->inc_min
522 0 0 0 $value <= $max and $value >= $min
526 0 0 0 $value <= $max and $value > $min
530 1 1 2 $value < $max and $value >= $min
534 2 2 5 $value < $max and $value > $min
619 0 13 1 $inverted1 and $inverted2
725 4 7 8 $bound1 and $bound2
749 2 0 2 $max2 <= $max1 and $max2 >= $min1
765 1 1 3 $min2 <= $max1 and $min2 >= $min1
799 5 3 1 defined $max1 and defined $max2
4 3 1 defined $min2 and defined $min1
841 2 2 29 defined $outmax and defined $outmin
4 26 3 defined $outmax and defined $outmin and $outmax == $outmin
2 0 1 $inc_max && $inc_min
28 1 2 defined $outmax and defined $outmin and $outmax == $outmin and not $inc_max && $inc_min
870 3 20 39 defined $ref1 and $ref1 == $newval
23 21 18 defined $ref1 and $ref1 == $newval and defined $ref2
41 14 4 defined $ref1 and $ref1 == $newval and defined $ref2 and $ref2 == $newval
21 14 23 defined $ref2 and $ref2 == $newval
874 3 1 0 $inc1 and $inc2

or 3 conditions

line l !l&&r !l&&!r condition
99 1 100 0 ref $proto || $proto
442 0 0 13 $self->$incm and not $comparison->$incm or not $self->$incm and $comparison->$incm
483 26 0 2 defined $max or defined $min
491 0 0 0 $value <= $max or $value >= $min
495 0 0 0 $value <= $max or $value > $min
499 0 0 0 $value < $max or $value >= $min
503 2 2 2 $value < $max or $value > $min
516 2 0 1 $self->inc_min or $self->inc_max
600 14 0 28 $inverted1 || $inverted2
604 29 4 9 $bound1 || $bound2
808 5 1 1 defined $refmax || defined $refmin
832 31 2 5 defined $outmax or defined $outmin