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
172 0 0 0 $shapex and $shapex != $self->width
186 0 0 0 $shapey and $shapey != $self->height

or 2 conditions

line l !l condition
46 0 0 $val ||= 0
166 0 0 $shapex //= 0
178 0 0 $shapey //= 0

or 3 conditions

line l !l&&r !l&&!r condition
58 0 0 0 $x < 0 or $y < 0
69 0 0 0 $neww or $newh
70 0 0 0 $neww || $self->width
0 0 0 $newh || $self->height
73 0 0 0 $x >= $self->width or $y >= $self->height
87 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
150 0 0 0 $scrollx or $scrolly