Branch Coverage

blib/lib/Device/Chip/ADT7470.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
66 0 2 if $addr =~ /^0/
170 1 0 defined $self->{'config'} ? :
226 1 3 if ($duty < 0)
227 1 3 if ($duty > 255)
266 1 1 $result != 65535 ? :
277 3 9 unless grep /^$fan$/, ('1', '2', '3', '4')