Branch Coverage

blib/lib/Image/ExifTool/Palm.pm
Criterion Covered Total %
branch 17 30 56.6


line true false branch
263 1 11 if $pos + 8 > $dirLen
266 0 11 if $len < 8 or $pos + $len > $dirLen
275 7 4 if $key
293 0 1 unless $raf->Read($buff, 86) == 86
295 0 1 unless $type
299 1 0 $type eq 'Mobipocket' ? :
305 0 1 unless $type eq "Mobipocket" and &Get16u(\$buff, 76)
310 0 1 unless ($raf->Seek($offset, 0) and $raf->Read($buff, 274) == 274)
314 0 1 unless (substr($buff, 16, 4) eq "MOBI")
322 1 0 if $et->{'CodePage'}
323 0 1 unless $enc
329 0 1 unless $raf->Seek($offset + $off, 0) and $raf->Read($buf2, $len) == $len
336 0 1 unless $flag & 64
340 0 1 unless ($raf->Seek($offset + $len, 0) and $raf->Read($buf2, 12) == 12 and substr($buf2, 0, 4) eq "EXTH" and ($size = &Get32u(\$buf2, 4)) > 12)
349 0 1 unless $raf->Read($buff, $size) == $size