Branch Coverage

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


line true false branch
152 0 0 $value ? :
157 0 0 $value ? :
162 0 0 $value ? :
169 0 0 if ($val > 1 or $val < 0)
174 0 0 if $brightness > 127
189 0 0 $c ? :
201 0 0 ($charbits->[$x] & 1 << $y) > 0 ? :
214 0 0 unless ($char_ordinal and exists phat_font()->{$char_ordinal})
221 0 0 if $char_ordinal == 65374
230 0 0 unless (defined $index and $index =~ /^0|1|2|3|4|5$/)
236 0 0 $state ? :
259 0 0 ($char_data->[$x] & 1 << $y) > 0 ? :
261 0 0 if ($val)
262 0 0 unless defined $minX
272 0 0 if ($kerning)
273 0 0 if (defined $minX) { }
329 0 0 if $self->_mirror
331 0 0 if $self->_rotate180
344 0 0 if ($mconf->{'type'} eq 'B') { }
352 0 0 if ($mconf->{'type'} eq 'B') { }
353 0 0 if ($self->_decimal->[$matrix]) { }
360 0 0 if ($self->_decimal->[$matrix]) { }
379 0 0 if ($amount_x == 0 and $amount_y == 0)
426 0 0 unless defined $display and $display =~ /^0|1|2|3|4|5$/
427 0 0 unless length $text
429 0 0 unless ($text =~ /^\d+$/)
443 0 0 if $rowcount > 7
458 0 0 if ($self->_clear_on_exit)