Branch Coverage

blib/lib/Image/ExifTool/Panasonic.pm
Criterion Covered Total %
branch 2 78 2.5


line true false branch
2603 0 0 if ($val =~ /^(\d+) (\d+)$/) { }
0 0 elsif ($val =~ /^\d+$/) { }
2607 0 0 unless defined $bits
2621 2 0 if ($inv) { }
2622 0 2 if $val =~ /(\d+)/
2624 0 0 if $val > 32768
2639 0 0 if $dirLen < 6
2642 0 0 if $numEntries < 1 or $numEntries > 255
2644 0 0 if $size < $numEntries * 12 or $size + 6 > $dirLen
2680 0 0 if $trailPos
2681 0 0 unless ($len > 0)
2682 0 0 if $trailPos
2689 0 0 unless ($ok)
2690 0 0 if $trailPos
2695 0 0 unless ($buff =~ /^(.{0,256})LEICA\0..../gs)
2696 0 0 $trailPos ? :
2702 0 0 if ($start and not $trailPos)
2712 0 0 if ($et->{'HTML_DUMP'}) { }
0 0 elsif ($et->Options('Verbose')) { }
2726 0 0 if $num >> 8 > ($num & 255)
2731 0 0 if ($valStart < $len)
2737 0 0 if $_ == 768 or $_ == 769 or not $ptr or $ptr == 4294967295
2738 0 0 if not defined $minPtr or $minPtr > $ptr
2740 0 0 if ($minPtr)
2744 0 0 if ($et->{'Model'} eq 'S2') { }
2746 0 0 if ($buff =~ /[^\0]/g)
2749 0 0 $n >= 282 ? :
2753 0 0 if ($buff =~ /\G.{114}([\x20-\x7f]*\0*)/gs and length $1 >= 50)
2758 0 0 if (not defined $expect) { }
0 0 elsif ($diff != $expect or defined $fixBase) { }
2762 0 0 if (defined $fixBase) { }
2763 0 0 if $fixBase ne ""
2785 0 0 if ($newPos) { }
2786 0 0 if ($et->{'Model'} ne "S2")
2796 0 0 if ($result)
2797 0 0 if ($previewInfo)
2809 0 0 if ($et->Options("MakerNotes") or $et->{'REQ_TAG_LOOKUP'}{lc $tagInfo->{'Name'}})
2818 0 0 unless (defined $val)
2819 0 0 if $len > 4