Condition Coverage

blib/lib/Image/Base/X11/Protocol/Window.pm
Criterion Covered Total %
condition 0 120 0.0


and 3 conditions

line !l l&&!r l&&r condition
159 0 0 0 $colour eq 'None' and (my $X = $self->{'-X'})->{'ext'}{'SHAPE'}
199 0 0 0 $colour eq 'None' and (my $X = $self->{'-X'})->{'ext'}{'SHAPE'}
202 0 0 0 $x2 >= 0 and $y2 >= 0
0 0 0 $x2 >= 0 and $y2 >= 0 and $x1 <= 32767
0 0 0 $x2 >= 0 and $y2 >= 0 and $x1 <= 32767 and $y1 <= 32767
257 0 0 0 $colour eq 'None' and (my $X = $self->{'-X'})->{'ext'}{'SHAPE'}
261 0 0 0 $x2 >= 0 and $y2 >= 0
0 0 0 $x2 >= 0 and $y2 >= 0 and $x1 <= 32767
0 0 0 $x2 >= 0 and $y2 >= 0 and $x1 <= 32767 and $y1 <= 32767
307 0 0 0 $colour eq 'None' and (my $X = $self->{'-X'})->{'ext'}{'SHAPE'}
311 0 0 0 $x1 == $x2 and $y1 == $y2
317 0 0 0 $x2 >= 0 and $y2 >= 0
0 0 0 $x2 >= 0 and $y2 >= 0 and $x1 <= 32767
0 0 0 $x2 >= 0 and $y2 >= 0 and $x1 <= 32767 and $y1 <= 32767
383 0 0 0 $rx <= $x and $rx + $width > $x
0 0 0 $rx <= $x and $rx + $width > $x and $ry <= $y
0 0 0 $rx <= $x and $rx + $width > $x and $ry <= $y and $ry + $height > $y

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 0 $self->{'_during_get'}{'GetWindowAttributes'} ||= do { my(%attr) = $self->{'-X'}->GetWindowAttributes($self->{'-drawable'}); foreach my $field ('visual') { unless (exists $$self{"-$field"}) { $$self{"-$field"} = $attr{$field}; } ; } ; \%attr }
108 0 0 0 defined $width or defined $height
126 0 0 0 $x < 0 or $y < 0
0 0 0 $x < 0 or $y < 0 or $x > 32767
0 0 0 $x < 0 or $y < 0 or $x > 32767 or $y > 32767
168 0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767
0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767 or $x1 < -32768
0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767 or $x1 < -32768 or $x2 < -32768
0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767 or $x1 < -32768 or $x2 < -32768 or $x1 > 32767
0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767 or $x1 < -32768 or $x2 < -32768 or $x1 > 32767 or $x2 > 32767
0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767 or $x1 < -32768 or $x2 < -32768 or $x1 > 32767 or $x2 > 32767 or $y1 < -32768
0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767 or $x1 < -32768 or $x2 < -32768 or $x1 > 32767 or $x2 > 32767 or $y1 < -32768 or $y2 < -32768
0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767 or $x1 < -32768 or $x2 < -32768 or $x1 > 32767 or $x2 > 32767 or $y1 < -32768 or $y2 < -32768 or $y1 > 32767
0 0 0 $bitmap_width > 32767 or $bitmap_height > 32767 or $x1 < -32768 or $x2 < -32768 or $x1 > 32767 or $x2 > 32767 or $y1 < -32768 or $y2 < -32768 or $y1 > 32767 or $y2 > 32767
219 0 0 0 $fill or $width <= 2
0 0 0 $fill or $width <= 2 or $height <= 2
265 0 0 0 $x1 < -32768 or $x2 > 32767
0 0 0 $x1 < -32768 or $x2 > 32767 or $y1 < -32768
0 0 0 $x1 < -32768 or $x2 > 32767 or $y1 < -32768 or $y2 > 32767
274 0 0 0 $w <= 1 or $h <= 1
321 0 0 0 $x1 < -32768 or $x2 > 32767
0 0 0 $x1 < -32768 or $x2 > 32767 or $y1 < -32768
0 0 0 $x1 < -32768 or $x2 > 32767 or $y1 < -32768 or $y2 > 32767