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
553 28 0 1 not $log2_extras and $depth == 3
617 8 0 0 not $log2_extras and $depth + 1 == $pow
851 0 0 0 $x <= 1 and $y <= 1
861 0 0 0 $x <= 1 and $y <= 1
874 0 0 0 abs $x <= 1 and $y <= 1
895 0 0 0 $x <= 1 and $y <= 1
900 38 4 18 abs $x <= 1 and abs $y <= 1
935 0 0 0 abs $x <= 1 and abs $y <= 1
1044 0 0 0 abs $x <= 1 and abs $y <= 2
1173 0 0 0 $x <= 1 and $y <= 1
1304 0 0 0 $y and $x < $pow
1378 0 0 0 $x == 1 and $y == 1
0 0 0 $x == 1 and $y == 2
1410 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)
1521 0 0 0 defined $pn and $self->tree_n_to_depth($pn) == $parent_depth
1914 3 389 469 $exp >= 0 and @pending
1966 49 0 0 @new_pending and $new_pending[-1] == $rem1
2039 0 122 127 $exp >= 0 and @$depth_aref
2090 5 0 0 @new_depth and $new_depth[-1] == $rem1

or 2 conditions

line l !l condition
207 10 1 $$self{'parts'} ||= '4'

or 3 conditions

line l !l&&r !l&&!r condition
321 28 0 42 $parts eq '1' or $parts eq '2'
28 42 0 $parts eq '1' or $parts eq '2' or $parts eq '4'
363 0 42 28 $parts eq '2' or $parts eq '4'
846 0 60 0 $parts eq '1' or $parts eq '4'
848 0 0 0 $y < 0 or $y > $x
857 0 0 0 $x < 0 or $x > $y
871 0 0 0 $x > $y or $x < -$y
892 0 0 0 $x < 0 or $y < 0
1170 0 0 0 $x < 0 or $y < 0
1211 0 0 42 $x == 0 or $y == 0
1873 12 15 33 $parts eq 'octant' or $parts eq 'octant_up'
1987 82 457 0 $oct_pow ||= ((4 * $pow + 9) * $pow + 6 * $exp + 14) / 18