Branch Coverage

blib/lib/Image/ExifTool/Lytro.pm
Criterion Covered Total %
branch 24 38 63.1


line true false branch
107 0 44 unless ref $meta eq "HASH"
111 9 121 ref $meta->{$key} eq 'ARRAY' ? :
112 41 95 if ref $val eq "HASH"
113 34 61 unless $tagTablePtr
114 62 33 unless ($tagTablePtr->{$tag})
118 37 25 unless $name =~ s/^Devices//
119 2 60 if ref $meta->{$key} eq "ARRAY"
121 35 27 $tag eq $name ? :
142 0 1 unless $raf->Read($buff, 16) == 16 and $buff =~ /^\x89LFP\x0d\x0a\x1a\x0a/
147 0 3 unless $buff =~ /^\x89LF/
149 0 3 if $size & 2147483648
150 0 3 unless $raf->Read($id, 80) == 80
151 0 3 if ($verbose)
155 0 3 if ($size > 20000000) { }
156 0 0 unless $raf->Seek($size, 1)
158 0 3 unless $raf->Read($buff, $size) == $size
160 3 0 if ($buff =~ /^\{\s+"/) { }
0 0 elsif ($buff =~ /^\xff\xd8\xff/) { }
171 3 0 if $pad != 16