Branch Coverage

blib/lib/HiPi/Interface/EPaper/DisplayBuffer.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
44 0 0 if ($params{'frame_1_type'} != 4)
45 0 0 $params{'frame_1_invert'} ? :
50 0 0 if ($params{'frame_2_type'} != 4)
51 0 0 $params{'frame_2_invert'} ? :
62 0 0 if ($params{'frame_1_type'} == 2) { }
0 0 elsif ($params{'frame_2_type'} == 2) { }
68 0 0 if ($params{'frame_1_type'} == 1) { }
0 0 elsif ($params{'frame_2_type'} == 1) { }
83 0 0 if ($frame) { }
84 0 0 $self->frame_invert->[$frame] ? :
91 0 0 $self->frame_invert->[$frameno] ? :
104 0 0 if ($self->pen == 2) { }
109 0 0 unless $frametype
120 0 0 if ($self->rotation == 0) { }
0 0 elsif ($self->rotation == 90) { }
0 0 elsif ($self->rotation == 180) { }
0 0 elsif ($self->rotation == 270) { }
121 0 0 if ($x < 0 or $x >= $self->device_width or $y < 0 or $y >= $self->device_height)
125 0 0 if ($x < 0 or $x >= $self->device_height or $y < 0 or $y >= $self->device_width)
132 0 0 if ($x < 0 or $x >= $self->device_width or $y < 0 or $y >= $self->device_height)
138 0 0 if ($x < 0 or $x >= $self->device_height or $y < 0 or $y >= $self->device_width)
150 0 0 $self->pen ? :
152 0 0 if ($self->pen_inverted)
153 0 0 $on ? :
156 0 0 if ($inverted) { }
157 0 0 if ($on) { }
163 0 0 if ($on) { }
182 0 0 if ($self->rotation == 90 or $self->rotation == 270) { }
191 0 0 if ($self->rotation == 90 or $self->rotation == 270) { }