Branch Coverage

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


line true false branch
72 0 0 unless $params{'type'}
74 0 0 if ($params{'type'} == 3) { }
0 0 elsif ($params{'type'} == 2) { }
0 0 elsif ($params{'type'} == 1) { }
0 0 elsif ($params{'type'} == 4) { }
0 0 elsif ($params{'type'} == 5) { }
0 0 elsif ($params{'type'} == 6) { }
0 0 elsif ($params{'type'} == 7) { }
0 0 elsif ($params{'type'} == 128) { }
101 0 0 unless $epaperclass->use
120 0 0 unless ($params{'skip_reset'})
134 0 0 unless (defined $params{'device'})
144 0 0 unless (defined $params{'gpio'})
173 0 0 if (@data)
197 0 0 if ($self->rotation == 90 or $self->rotation == 270) { }
206 0 0 if ($self->rotation == 90 or $self->rotation == 270) { }
302 0 0 if ($data and ref $data eq 'ARRAY' and @$data)
339 0 0 if $tw <= $maxtextwidth and $th <= $maxtextheight
344 0 0 if $tw <= $maxtextwidth - 20 and $th <= $maxtextheight