Condition Coverage

blib/lib/Math/PlanePath/OneOfEight.pm
Criterion Covered Total %
condition 30 98 30.6


and 3 conditions

line !l l&&!r l&&r condition
571 28 0 1 not $log2_extras and $depth == 3
635 8 0 0 not $log2_extras and $depth + 1 == $pow
869 0 0 0 $x <= 1 and $y <= 1
879 0 0 0 $x <= 1 and $y <= 1
892 0 0 0 abs $x <= 1 and $y <= 1
913 0 0 0 $x <= 1 and $y <= 1
918 38 4 18 abs $x <= 1 and abs $y <= 1
953 0 0 0 abs $x <= 1 and abs $y <= 1
1062 0 0 0 abs $x <= 1 and abs $y <= 2
1191 0 0 0 $x <= 1 and $y <= 1
1322 0 0 0 $y and $x < $pow
1396 0 0 0 $x == 1 and $y == 1
0 0 0 $x == 1 and $y == 2
1428 34 0 0 not $add_log2_extras[$i] and $d >= 3
34 0 0 not $add_log2_extras[$i] and $d >= 3 and _is_pow2($d + 1)
1539 0 0 0 defined $pn and $self->tree_n_to_depth($pn) == $parent_depth
1932 3 389 469 $exp >= 0 and @pending
1984 49 0 0 @new_pending and $new_pending[-1] == $rem1
2057 0 122 127 $exp >= 0 and @$depth_aref
2108 5 0 0 @new_depth and $new_depth[-1] == $rem1

or 2 conditions

line l !l condition
225 10 1 $self->{'parts'} ||= '4'

or 3 conditions

line l !l&&r !l&&!r condition
339 28 0 42 $parts eq '1' or $parts eq '2'
28 42 0 $parts eq '1' or $parts eq '2' or $parts eq '4'
381 0 42 28 $parts eq '2' or $parts eq '4'
864 0 60 0 $parts eq '1' or $parts eq '4'
866 0 0 0 $y < 0 or $y > $x
875 0 0 0 $x < 0 or $x > $y
889 0 0 0 $x > $y or $x < -$y
910 0 0 0 $x < 0 or $y < 0
1188 0 0 0 $x < 0 or $y < 0
1229 0 0 42 $x == 0 or $y == 0
1891 12 15 33 $parts eq 'octant' or $parts eq 'octant_up'
2005 82 457 0 $oct_pow ||= ((4 * $pow + 9) * $pow + 6 * $exp + 14) / 18