Branch Coverage

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


line true false branch
105 0 0 $devicename ? :
155 0 0 $value ? :
160 0 0 $value ? :
165 0 0 $value ? :
172 0 0 if ($val > 1 or $val < 0)
177 0 0 if $brightness > 127
192 0 0 $c ? :
204 0 0 ($charbits->[$x] & 1 << $y) > 0 ? :
217 0 0 unless ($char_ordinal and exists phat_font()->{$char_ordinal})
224 0 0 if $char_ordinal == 65374
233 0 0 unless (defined $index and $index =~ /^0|1|2|3|4|5$/)
239 0 0 $state ? :
262 0 0 ($char_data->[$x] & 1 << $y) > 0 ? :
264 0 0 if ($val)
265 0 0 unless defined $minX
275 0 0 if ($kerning)
276 0 0 if (defined $minX) { }
332 0 0 if $self->_mirror
334 0 0 if $self->_rotate180
347 0 0 if ($mconf->{'type'} eq 'B') { }
355 0 0 if ($mconf->{'type'} eq 'B') { }
356 0 0 if ($self->_decimal->[$matrix]) { }
363 0 0 if ($self->_decimal->[$matrix]) { }
382 0 0 if ($amount_x == 0 and $amount_y == 0)
429 0 0 unless defined $display and $display =~ /^0|1|2|3|4|5$/
430 0 0 unless length $text
432 0 0 unless ($text =~ /^\d+$/)
446 0 0 if $rowcount > 7
461 0 0 if ($self->_clear_on_exit)