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
554 28 0 1 not $log2_extras and $depth == 3
618 8 0 0 not $log2_extras and $depth + 1 == $pow
852 0 0 0 $x <= 1 and $y <= 1
862 0 0 0 $x <= 1 and $y <= 1
875 0 0 0 abs $x <= 1 and $y <= 1
896 0 0 0 $x <= 1 and $y <= 1
901 38 4 18 abs $x <= 1 and abs $y <= 1
936 0 0 0 abs $x <= 1 and abs $y <= 1
1045 0 0 0 abs $x <= 1 and abs $y <= 2
1174 0 0 0 $x <= 1 and $y <= 1
1305 0 0 0 $y and $x < $pow
1379 0 0 0 $x == 1 and $y == 1
0 0 0 $x == 1 and $y == 2
1411 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)
1522 0 0 0 defined $pn and $self->tree_n_to_depth($pn) == $parent_depth
1915 3 389 469 $exp >= 0 and @pending
1967 49 0 0 @new_pending and $new_pending[-1] == $rem1
2040 0 122 127 $exp >= 0 and @$depth_aref
2091 5 0 0 @new_depth and $new_depth[-1] == $rem1

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
322 28 0 42 $parts eq '1' or $parts eq '2'
28 42 0 $parts eq '1' or $parts eq '2' or $parts eq '4'
364 0 42 28 $parts eq '2' or $parts eq '4'
847 0 60 0 $parts eq '1' or $parts eq '4'
849 0 0 0 $y < 0 or $y > $x
858 0 0 0 $x < 0 or $x > $y
872 0 0 0 $x > $y or $x < -$y
893 0 0 0 $x < 0 or $y < 0
1171 0 0 0 $x < 0 or $y < 0
1212 0 0 42 $x == 0 or $y == 0
1874 12 15 33 $parts eq 'octant' or $parts eq 'octant_up'
1988 82 457 0 $oct_pow ||= ((4 * $pow + 9) * $pow + 6 * $exp + 14) / 18