Branch Coverage

blib/lib/Image/ExifTool/Fixup.pm
Criterion Covered Total %
branch 38 70 54.2


line true false branch
76 6 0 if ($phash)
84 0 6 if ($self->{'Fixups'})
105 559 2858 if (ref $pointer) { }
106 329 230 unless $self->{'Fixups'}
110 0 2858 if (defined $format)
111 0 0 if ($format eq 'int16u') { }
0 0 elsif ($format ne 'int32u') { }
117 105 2753 if defined $marker
119 448 2410 unless $phash
120 542 2316 unless $phash->{$byteOrder}
138 652 124 if ($phash and $start || $shift)
145 0 729 $byteOrder =~ /^(II2|MM2)/ ? :
149 0 7328 unless $shift
156 329 1073 if ($self->{'Fixups'})
158 198 131 unless $phash
167 80 479 unless my $shash = $subFixup->{'Pointers'}
171 186 281 unless $phash->{$byteOrder}
191 13 0 if ($phash)
194 0 12 unless ref $phash->{$key} eq "ARRAY"
195 12 0 if @{$phash->{$key};}
209 0 0 unless $phash
210 0 0 if grep /_$marker$/, keys %$phash
211 0 0 unless $self->{'Fixups'}
214 0 0 if $subFixup->HasMarker($marker)
229 125 6 if ($phash)
233 216 6 unless $byteOrder =~ /^(II|MM)(2?)_$marker$/
235 0 6 $2 ? :
242 0 131 if ($self->{'Fixups'})
262 6 0 if ($phash)
267 0 3 $byteOrder =~ /^(II2|MM2)/ ? :
274 0 6 if ($self->{'Fixups'})
280 6 0 if wantarray
290 0 0 unless $indent
293 0 0 if ($phash)
299 0 0 if ($self->{'Fixups'})