Condition Coverage

blib/lib/HiPi/Graphics/DrawingContext.pm
Criterion Covered Total %
condition 0 120 0.0


and 3 conditions

line !l l&&!r l&&r condition
352 0 0 0 -$x_pos == $y_pos and $e2 <= $x_pos
650 0 0 0 $y == $py and $py == $ny
0 0 0 $y == $py and $py == $ny and $x >= $px || $x >= $nx
0 0 0 $y == $py and $py == $ny and $x >= $px || $x >= $nx and $x <= $px || $x <= $nx
654 0 0 0 $x == $px and $px == $nx
0 0 0 $x == $px and $px == $nx and $y >= $py || $y >= $ny
0 0 0 $x == $px and $px == $nx and $y >= $py || $y >= $ny and $y <= $py || $y <= $ny
658 0 0 0 $y <= $py and $y <= $ny
0 0 0 $y > $py and $y > $ny
0 0 0 $x > $px and $x > $nx
701 0 0 0 $x0 != $x1 and $y0 != $y1

or 2 conditions

line l !l condition
30 0 0 $params{'contextarray'} //= []
60 0 0 $minx || 0
0 0 $miny || 0
0 0 $maxx || 0
0 0 $maxy || 0
82 0 0 $rx //= 0
83 0 0 $ry //= 0
85 0 0 $rotation //= 0
154 0 0 $on //= 1
164 0 0 $x //= 0
165 0 0 $y //= 0
166 0 0 $text //= ''
167 0 0 $font //= 'Mono10'
207 0 0 $font->kerning->{$prev_char}{$this_char} || 0
260 0 0 $text //= ''
261 0 0 $font //= 'Mono10'
297 0 0 $font->kerning->{$prev_char}{$this_char} || 0
375 0 0 $x0 //= 0
376 0 0 $y0 //= 0
377 0 0 $rx //= 0
378 0 0 $ry //= 0
379 0 0 $start //= 0
380 0 0 $end //= 360
381 0 0 $join //= 0
511 0 0 $r //= 4
691 0 0 $ep //= 1
723 0 0 $fill //= 0

or 3 conditions

line l !l&&r !l&&!r condition
98 0 0 0 $rotation == 90 or $rotation == -270
0 0 0 $rotation == -90 or $rotation == 270
593 0 0 0 $vertices[0][0] != $vertices[-1][0] or $vertices[0][1] != $vertices[-1][1]
650 0 0 0 $x >= $px || $x >= $nx
0 0 0 $x <= $px || $x <= $nx
654 0 0 0 $y >= $py || $y >= $ny
0 0 0 $y <= $py || $y <= $ny
658 0 0 0 $py == $ny or $y <= $py and $y <= $ny
0 0 0 $py == $ny or $y <= $py and $y <= $ny or $y > $py and $y > $ny
0 0 0 $py == $ny or $y <= $py and $y <= $ny or $y > $py and $y > $ny or $x > $px and $x > $nx
668 0 0 0 $px == $nx or $x <= $xinters