Condition Coverage

blib/lib/Device/MiniLED.pm
Criterion Covered Total %
condition 15 48 31.2


and 3 conditions

line !l l&&!r l&&r condition
42 1 0 0 $params{'devicetype'} ne 'sign' and $params{'devicetype'} ne 'badge'
207 0 0 0 $params{'packetdelay'} > 0 and $params{'packetdelay'} =~ /^\d*\.{0,1}\d*$/
715 0 1 0 defined $$this{'height'} and $$this{'height'} < 1
723 0 1 0 defined $$this{'width'} and $$this{'width'} < 1 || $$this{'width'} > 256
784 2 1 0 $params{'type'} ne 'pix' and $params{'type'} ne 'icon'

or 3 conditions

line l !l&&r !l&&!r condition
21 0 0 2 $^O eq 'MSWin32' || $^O eq 'cygwin'
34 0 1 0 ref $that || $that
165 0 0 0 $^O eq 'MSWin32' || $^O eq 'cygwin'
286 0 2 0 ref $that || $that
488 0 3 0 ref $that || $that
601 0 2 0 ref $that || $that
703 0 1 0 ref $that || $that
723 0 0 1 $$this{'width'} < 1 || $$this{'width'} > 256
751 0 1 0 ref $that || $that
776 0 3 0 ref $that || $that
1169 0 1 0 ref $that || $that