Condition Coverage

blib/lib/Math/PlanePath/LCornerTree.pm
Criterion Covered Total %
condition 16 136 11.7


and 3 conditions

line !l l&&!r l&&r condition
563 0 0 0 $x == 0 and $y == 0
747 0 0 0 $x2 < 0 and $y2 < 0
991 0 0 0 defined $n_parent and $n_parent == $n
1040 0 0 0 $ndepth > 0 and $n == $nwidth - 1
1065 0 0 0 $ndepth > 0 and $n == 0 || $n == $nwidth - 1
1132 0 0 0 ref $n and $n->isa('Math::BigInt')
1150 0 0 0 ref $_[0] and $_[0]->isa('Math::BigInt')

or 2 conditions

line l !l condition
310 11 2 $self->{'parts'} ||= 4
468 0 0 shift @nternary || 0

or 3 conditions

line l !l&&r !l&&!r condition
526 0 0 0 $y < 0 or $y > $x
528 0 0 0 $x < 0 or $y < 0
0 0 0 $x < 0 or $y < 0 or $y > $x + 1
531 0 0 0 $x < 0 or $x > $y
533 0 0 0 $y < 0 or $x < 0
0 0 0 $y < 0 or $x < 0 or $x > $y + 1
536 0 0 0 $x < -1 - $y or $x > $y
542 0 0 0 $y < 0 or $x < -2 - $y
0 0 0 $y < 0 or $x < -2 - $y or $x > $y + 1
630 0 0 0 $x >= $len || $y >= $len
663 0 0 0 $parts eq 'octant_up' or $parts eq 'octant_up+1'
0 0 0 $parts eq 'octant_up' or $parts eq 'octant_up+1' or $parts eq 'wedge'
0 0 0 $parts eq 'octant_up' or $parts eq 'octant_up+1' or $parts eq 'wedge' or $parts eq 'wedge+1'
0 0 0 $parts eq 'octant_up' or $parts eq 'octant_up+1' or $parts eq 'wedge' or $parts eq 'wedge+1' or $parts eq 'diagonal'
0 0 0 $parts eq 'octant_up' or $parts eq 'octant_up+1' or $parts eq 'wedge' or $parts eq 'wedge+1' or $parts eq 'diagonal' or $parts eq 'diagonal-1'
705 0 0 0 $y2 < 0 or $x2 < $y1
708 0 0 0 $x2 < 0 or $y2 < 0
0 0 0 $x2 < 0 or $y2 < 0 or $y1 > $x2 + 1
712 0 0 0 $x2 < 0 or $y2 < $x1
715 0 0 0 $x2 < 0 or $y2 < 0
0 0 0 $x2 < 0 or $y2 < 0 or $x1 > $y2 + 1
719 0 0 0 $x2 < -1 - $y2 or $x1 > $y2
722 0 0 0 $x2 < -2 - $y2 or $x1 > $y2 + 1
734 0 0 0 $x2 < 0 or $y2 < 0
801 13 0 47 $parts eq 'octant' or $parts eq 'octant_up'
0 0 47 $parts eq 'octant+1' or $parts eq 'octant_up+1'
870 32 0 106 $parts eq 'octant' or $parts eq 'octant_up'
0 0 106 $parts eq 'octant+1' or $parts eq 'octant_up+1'
915 68 41 238 $parts eq 'wedge' or $parts eq 'diagonal'
923 0 0 84 $parts eq 'octant+1' or $parts eq 'octant_up+1'
954 28 15 93 $parts eq 'wedge' or $parts eq 'diagonal'
0 0 78 $parts eq 'octant+1' or $parts eq 'octant_up+1'
1007 0 0 0 not defined $want_depth or ($want_depth -= 1) < 0
1065 0 0 0 $n == 0 || $n == $nwidth - 1
1093 0 0 0 $n == 0 or $n == $nwidth - 1
1134 0 0 0 not ref $d or $d < 1000000
1152 0 0 0 not ref $d or $d < 1000000