Branch Coverage

blib/lib/HiPi/Interface/SerLCD.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
48 0 0 unless (defined $params{'device'})
78 0 0 if $brightness < 0
79 0 0 if $brightness > 100
86 0 0 unless $self->backlightcontrol
89 0 0 if ($brightness == 0) { }
0 0 elsif ($brightness == 1) { }
0 0 elsif ($brightness == 100) { }
97 0 0 if $level < 129
100 0 0 if $level > 157
110 0 0 if ($baud == 2400) { }
0 0 elsif ($baud == 4800) { }
0 0 elsif ($baud == 9600) { }
0 0 elsif ($baud == 14400) { }
0 0 elsif ($baud == 19200) { }
0 0 elsif ($baud == 38400) { }
132 0 0 if ($self->width == 20)
135 0 0 if ($self->width == 16)
138 0 0 if ($self->lines == 4)
141 0 0 if ($self->lines == 2)
144 0 0 if ($self->lines == 1)
151 0 0 unless defined $flag
152 0 0 if ($flag) { }