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
217 0 0 0 $char_ordinal and exists phat_font()->{$char_ordinal}
233 0 0 0 defined $index and $index =~ /^0|1|2|3|4|5$/
382 0 0 0 $amount_x == 0 and $amount_y == 0
429 0 0 0 defined $display and $display =~ /^0|1|2|3|4|5$/

or 2 conditions

line l !l condition
171 0 0 $val ||= 1
198 0 0 $offset_x ||= 0
199 0 0 $offset_y ||= 0
212 0 0 $char //= ' '
245 0 0 $string //= ''
246 0 0 $offset_x ||= 0
247 0 0 $offset_y ||= 0
248 0 0 $kerning //= 1
379 0 0 $amount_x //= 0
380 0 0 $amount_y //= 0
401 0 0 $position_x //= 0
402 0 0 $position_y //= 0
415 0 0 $amount //= 1
421 0 0 $amount //= 1
427 0 0 $text //= ''

or 3 conditions

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