Condition Coverage

blib/lib/HiPi/Interface/PCA9685.pm
Criterion Covered Total %
condition 0 31 0.0


and 3 conditions

line !l l&&!r l&&r condition
215 0 0 0 $delay and $delay > 0
232 0 0 0 defined $position and $position == $desired_postion
234 0 0 0 defined $position && $position > $desired_postion

or 2 conditions

line l !l condition
206 0 0 $prescale ||= 3
224 0 0 $duration || undef
280 0 0 $channel //= 0
293 0 0 $on //= 0
294 0 0 $off //= 0
307 0 0 $us ||= 100
334 0 0 $degrees //= 90
383 0 0 $type //= 1

or 3 conditions

line l !l&&r !l&&!r condition
236 0 0 0 $position //= $desired_postion - $increment
349 0 0 0 $us ||= $svc->{'pulse_mid'}