Condition Coverage

blib/lib/HiPi/Utils/BitBuffer.pm
Criterion Covered Total %
condition 0 39 0.0


and 3 conditions

line !l l&&!r l&&r condition
174 0 0 0 $shapex and $shapex != $self->width
188 0 0 0 $shapey and $shapey != $self->height

or 2 conditions

line l !l condition
47 0 0 $val ||= 0
168 0 0 $shapex //= 0
180 0 0 $shapey //= 0

or 3 conditions

line l !l&&r !l&&!r condition
59 0 0 0 $x < 0 or $y < 0
70 0 0 0 $neww or $newh
71 0 0 0 $neww || $self->width
0 0 0 $newh || $self->height
74 0 0 0 $x >= $self->width or $y >= $self->height
88 0 0 0 $x < 0 or $x >= $self->width
0 0 0 $x < 0 or $x >= $self->width or $y < 0
0 0 0 $x < 0 or $x >= $self->width or $y < 0 or $y >= $self->height
152 0 0 0 $scrollx or $scrolly