Branch Coverage

blib/lib/Hardware/iButton/Device.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
173 0 0 if ($crc != 0)
178 0 0 if (defined $Hardware::iButton::Device::models{$$self{'family'}}) { }
184 0 0 if ($$m{'class'})
257 0 0 if $$self{'connection'}->scan($$self{'family'}, $$self{'serial'})
351 0 0 if ($readback_addr != $pageaddr)
363 0 0 if ($status & 128)
370 0 0 if ($status & 64)
377 0 0 if ($status & 32)
383 0 0 if (($status & 31) != ($pageaddr + length($chunk) - 1) % 32)
394 0 0 if ($buf ne $chunk)
417 0 0 if $buf eq "\000"
434 0 0 if $nwritten == length $chunk
448 0 0 if ($addr % 32)
460 0 0 length $data > 32 ? :
559 0 0 if (Hardware::iButton::Connection::crc(0, split(//, $scratchpad, 0)))
587 0 0 if $tempnumber > 32768
602 0 0 if $tempnumber > 32768