Condition Coverage

blib/lib/HiPi/Interface/MicroDotPHAT.pm
Criterion Covered Total %
condition 0 45 0.0


and 3 conditions

line !l l&&!r l&&r condition
214 0 0 0 $char_ordinal and exists phat_font()->{$char_ordinal}
230 0 0 0 defined $index and $index =~ /^0|1|2|3|4|5$/
379 0 0 0 $amount_x == 0 and $amount_y == 0
426 0 0 0 defined $display and $display =~ /^0|1|2|3|4|5$/

or 2 conditions

line l !l condition
168 0 0 $val ||= 1
195 0 0 $offset_x ||= 0
196 0 0 $offset_y ||= 0
209 0 0 $char //= ' '
242 0 0 $string //= ''
243 0 0 $offset_x ||= 0
244 0 0 $offset_y ||= 0
245 0 0 $kerning //= 1
376 0 0 $amount_x //= 0
377 0 0 $amount_y //= 0
398 0 0 $position_x //= 0
399 0 0 $position_y //= 0
412 0 0 $amount //= 1
418 0 0 $amount //= 1
424 0 0 $text //= ''

or 3 conditions

line l !l&&r !l&&!r condition
169 0 0 0 $val > 1 or $val < 0