Condition Coverage

blib/lib/Math/PlanePath/ToothpickTree.pm
Criterion Covered Total %
condition 34 92 36.9


and 3 conditions

line !l l&&!r l&&r condition
610 0 33 72 $exp and $n == $mirror
750 0 0 0 $x == -1 and $y == 0
751 0 0 0 $x == -2 and $y == 0
925 267 0 0 $y == $pow and $x == $pow - 1
947 6 51 0 $y == 1 and $x == 0
962 28 51 56 $y == -1 and $x == 0
1001 0 0 117 $x == 1 and $y == 1
0 0 0 $x == 1 and $y == 2
1073 14 2 0 $x2 < 0 and $y2 < 0
1139 0 0 0 defined $n1 && $n1 > $n
0 0 0 defined $n2 && $n2 > $n
1425 6332 4 6971 @new_pending and $new_pending[-1] == $rem
1541 1478 49 723 @new_depth_list and $new_depth_list[-1] == $rem

or 2 conditions

line l !l condition
281 0 0 $sumabsxy_minimum{$self->{'parts'}} || 0
313 0 0 $rsquared_minimum{$self->{'parts'}} || 0
360 37 4 $self->{'parts'} ||= 4
1136 0 0 $n1 || 0
0 0 $n2 || 0
1148 0 0 $parts_to_numroots{$self->{'parts'}} || 1
1156 0 0 $parts_to_numroots{$self->{'parts'}} || 1

or 3 conditions

line l !l&&r !l&&!r condition
726 0 0 0 $x > $y or $x < -$y
805 0 0 51 $x < 1 or $y < 1
885 0 0 240 $x < 1 or $y < 1
0 0 240 $x < 1 or $y < 1 or $y > $x + 1
1052 0 0 108 $parts eq 'wedge' or $parts eq 'wedge+1'
1057 22 0 86 $parts eq '4' or $parts eq 'two_horiz'
1106 0 0 70 $x2 < 1 or $y2 < 1
1329 856 27 6485 $parts eq 'octant' or $parts eq 'octant_up'
1442 13412 15354 0 $tpow ||= ($pow * $pow - 16) / 12 + $pow / 2
1530 491 311 2250 $rem == 0 or $rem == $pow - 1
1580 0 0 0 $parts eq 'wedge' or $parts eq 'wedge+1'
1592 0 0 0 $n == 0 or $n == 2 * $add + 1
1643 0 0 0 $parts eq '2' or $parts eq '4'