Condition Coverage

blib/lib/Image/Base/Tk/Canvas.pm
Criterion Covered Total %
condition 0 38 0.0


or 2 conditions

line l !l condition
190 0 0 scalar $tkcanvas->itemcget($item, '-fill') || scalar $tkcanvas->itemcget($item, '-outline')

or 3 conditions

line l !l&&r !l&&!r condition
57 0 0 0 delete $params{'-for_widget'} || croak('Must have -for_widget to create new Tk::Canvas')
186 0 0 0 $type eq 'rectangle' or $type eq 'oval'
0 0 0 $type eq 'rectangle' or $type eq 'oval' or $type eq 'polygon'
0 0 0 $type eq 'rectangle' or $type eq 'oval' or $type eq 'polygon' or $type eq 'arc'
193 0 0 0 $type eq 'line' or $type eq 'text'
201 0 0 0 $tkcanvas->itemcget($item, '-width') || $widget->reqwidth
202 0 0 0 $tkcanvas->itemcget($item, '-height') || $widget->reqheight
229 0 0 0 $x < 0 or $y < 0
0 0 0 $x < 0 or $y < 0 or $x >= $width
0 0 0 $x < 0 or $y < 0 or $x >= $width or $y >= $height
268 0 0 0 $x1 == $x2 || $y1 == $y2
0 0 0 $fill ||= $x1 == $x2 || $y1 == $y2