Condition Coverage

blib/lib/Collision/2D/Entity/Point.pm
Criterion Covered Total %
condition 66 82 80.4


and 3 conditions

line !l l&&!r l&&r condition
52 35 8 35 $x1 > 0 and $x1 < $w
43 26 9 $x1 > 0 and $x1 < $w and $y1 > 0
34 9 0 $x1 > 0 and $x1 < $w and $y1 > 0 and $y1 < $h
58 0 78 0 $params{'interval'} and $self->relative_x || $self->relative_y
61 0 0 25 $x1 > 0 and $x1 < $w
63 3 0 22 $y1 < 0 and $y2 > 0
0 0 3 $y1 > $h and $y2 < $h
80 45 7 1 $x1 > $w and $x2 > $w
83 17 30 5 $x1 < 0 and $x2 < 0
86 29 17 1 $y1 > $h and $y2 > $h
89 33 12 1 $y1 < 0 and $y2 < 0
96 16 0 29 $x1 < 0 and $x2 > 0
10 0 6 $x1 > $w and $x2 < $w
99 10 7 12 $y_at_t < $h and $y_at_t > 0
107 1 1 4 $y_at_t < $h and $y_at_t > 0
114 27 2 10 $y1 < 0 and $y2 > 0
12 0 17 $y1 > $h and $y2 < $h
118 3 3 4 $x_at_t < $w and $x_at_t > 0
128 3 6 8 $x_at_t < $w and $x_at_t > 0

or 2 conditions

line l !l condition
16 45 118 $params{'x'} || 0
42 121 $params{'y'} || 0
46 117 $params{'xv'} || 0
44 119 $params{'yv'} || 0
50 113 $params{'relative_x'} || 0
50 113 $params{'relative_y'} || 0
28 135 $params{'relative_xv'} || 0
48 115 $params{'relative_yv'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
58 78 0 0 $self->relative_x || $self->relative_y
116 10 0 0 not defined $best_time or $t < $best_time
126 12 5 0 not defined $best_time or $t < $best_time