Branch Coverage

blib/lib/Tk/Image/Calculation.pm
Criterion Covered Total %
branch 0 128 0.0


line true false branch
24 0 0 if (defined $$self{-'points'} and defined $$self{-'form'})
26 0 0 unless defined $$self{-'subset'}
30 0 0 if ($$self{-'form'} eq 'oval')
34 0 0 if ($$self{-'subset'} eq 'lines_outside')
39 0 0 if ($$self{-'subset'} eq 'points_outside')
44 0 0 if ($$self{-'subset'} eq 'points_inside')
49 0 0 if ($$self{-'subset'} eq 'lines_inside')
54 0 0 if ($$self{-'subset'} eq 'all')
61 0 0 if ($$self{-'form'} eq 'circle')
65 0 0 if ($$self{-'subset'} eq 'lines_outside')
70 0 0 if ($$self{-'subset'} eq 'points_outside')
75 0 0 if ($$self{-'subset'} eq 'points_inside')
80 0 0 if ($$self{-'subset'} eq 'lines_inside')
85 0 0 if ($$self{-'subset'} eq 'all')
92 0 0 if ($$self{-'form'} eq 'polygon')
96 0 0 if ($$self{-'subset'} eq 'lines_outside')
101 0 0 if ($$self{-'subset'} eq 'points_outside')
106 0 0 if ($$self{-'subset'} eq 'lines_inside')
111 0 0 if ($$self{-'subset'} eq 'points_inside')
116 0 0 if ($$self{-'subset'} eq 'all')
138 0 0 if $p_x1 > $p_x2
139 0 0 if $p_y1 > $p_y2
142 0 0 if ($width < 5 or $height < 5)
212 0 0 if $p_x1 > $p_x2
213 0 0 if $p_y1 > $p_y2
216 0 0 if ($width < 5 or $height < 5)
251 0 0 if $p_x1 > $p_x2
252 0 0 if $p_y1 > $p_y2
255 0 0 if ($width < 5 or $height < 5)
296 0 0 if $p_x1 > $p_x2
297 0 0 if $p_y1 > $p_y2
300 0 0 if ($width < 5 or $height < 5)
333 0 0 if $p_x1 > $p_x2
334 0 0 if $p_y1 > $p_y2
337 0 0 if ($width < 5 or $height < 5)
375 0 0 if $p_x1 > $p_x2
376 0 0 if $p_y1 > $p_y2
379 0 0 if ($width < 5 or $height < 5)
410 0 0 if ($x2py2 < $r2) { }
0 0 elsif ($x2py2 > $r2) { }
436 0 0 if $p_x1 > $p_x2
437 0 0 if $p_y1 > $p_y2
440 0 0 if ($width < 5 or $height < 5)
455 0 0 if ($x2py2 < $r2)
469 0 0 if $p_x1 > $p_x2
470 0 0 if $p_y1 > $p_y2
473 0 0 if ($width < 5 or $height < 5)
488 0 0 if ($x2py2 > $r2)
502 0 0 if $p_x1 > $p_x2
503 0 0 if $p_y1 > $p_y2
506 0 0 if ($width < 5 or $height < 5)
530 0 0 if $p_x1 > $p_x2
531 0 0 if $p_y1 > $p_y2
534 0 0 if ($width < 5 or $height < 5)
699 0 0 if $points_count < 3
709 0 0 if $$self{'min_y'} > $p[$_]{'y'}
710 0 0 if $$self{'max_y'} < $p[$_]{'y'}
711 0 0 if $$self{'min_x'} > $p[$_]{'x'}
712 0 0 if $$self{'max_x'} < $p[$_]{'x'}
720 0 0 if (not $i) { }
732 0 0 if ($p_y1 < $p_y2) { }
0 0 elsif ($p_y1 > $p_y2) { }
748 0 0 if ($p_y >= $p_y1 and $p_y < $p_y2) { }
0 0 elsif ($p_y == $$self{'max_y'} and $p_y > $p_y1 and $p_y <= $p_y2) { }