Condition Coverage

blib/lib/Number/Interval.pm
Criterion Covered Total %
condition 101 135 74.8


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 9 defined $min and defined $max
364 2 0 2 $min <= 0 and $self->pos_def
393 29 19 88 defined $min and defined $max
410 25 15 52 defined $min and defined $max
448 13 0 0 $self->$incm and not $comparison->$incm
0 11 2 not $self->$incm and $comparison->$incm
497 0 0 6 defined $max and defined $min
498 6 0 0 $self->inc_max and $self->inc_min
522 4 4 28 defined $max and defined $min
523 19 2 2 $self->pos_def and $value < 0
17 2 2 $self->inc_max and $self->inc_min
530 0 0 2 $value <= $max and $value >= $min
534 0 1 1 $value <= $max and $value > $min
538 2 1 3 $value < $max and $value >= $min
542 3 3 5 $value < $max and $value > $min
631 0 13 1 $inverted1 and $inverted2
738 6 9 8 $bound1 and $bound2
763 6 0 2 $max2 <= $max1 and $max2 >= $min1
779 1 1 3 $min2 <= $max1 and $min2 >= $min1
813 5 3 1 defined $max1 and defined $max2
4 3 1 defined $min2 and defined $min1
855 2 2 33 defined $outmax and defined $outmin
4 26 7 defined $outmax and defined $outmin and $outmax == $outmin
4 0 3 $inc_max && $inc_min
28 3 4 defined $outmax and defined $outmin and $outmax == $outmin and not $inc_max && $inc_min
884 3 20 47 defined $ref1 and $ref1 == $newval
23 25 22 defined $ref1 and $ref1 == $newval and defined $ref2
45 18 4 defined $ref1 and $ref1 == $newval and defined $ref2 and $ref2 == $newval
25 18 23 defined $ref2 and $ref2 == $newval
888 3 1 0 $inc1 and $inc2

or 3 conditions

line l !l&&r !l&&!r condition
99 5 112 0 ref $proto || $proto
354 2 1 1 $self->inc_min or $self->inc_max
448 0 0 13 $self->$incm and not $comparison->$incm or not $self->$incm and $comparison->$incm
491 38 0 4 defined $max or defined $min
499 0 0 0 $value <= $max or $value >= $min
503 0 0 0 $value <= $max or $value > $min
507 0 0 0 $value < $max or $value >= $min
511 2 2 2 $value < $max or $value > $min
524 3 1 1 $self->inc_min or $self->inc_max
612 14 0 32 $inverted1 || $inverted2
616 31 6 9 $bound1 || $bound2
822 5 1 1 defined $refmax || defined $refmin
846 35 2 5 defined $outmax or defined $outmin