Branch Coverage

blib/lib/Image/ExifTool/Fixup.pm
Criterion Covered Total %
branch 42 70 60.0


line true false branch
76 6 0 if ($phash)
84 0 6 if ($self->{'Fixups'})
105 555 2920 if (ref $pointer) { }
106 326 229 unless $self->{'Fixups'}
110 0 2920 if (defined $format)
111 0 0 if ($format eq 'int16u') { }
0 0 elsif ($format ne 'int32u') { }
117 105 2815 if defined $marker
119 472 2448 unless $phash
120 566 2354 unless $phash->{$byteOrder}
138 669 122 if ($phash and $start || $shift)
145 0 754 $byteOrder =~ /^(II2|MM2)/ ? :
149 0 7426 unless $shift
156 325 1066 if ($self->{'Fixups'})
158 196 129 unless $phash
167 56 498 unless my $shash = $subFixup->{'Pointers'}
171 192 295 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 127 7 if ($phash)
233 226 10 unless $byteOrder =~ /^(II|MM)(2?)_$marker$/
235 0 10 $2 ? :
242 1 133 if ($self->{'Fixups'})
262 7 1 if ($phash)
267 0 4 $byteOrder =~ /^(II2|MM2)/ ? :
274 1 7 if ($self->{'Fixups'})
280 7 1 if wantarray
290 0 0 unless $indent
293 0 0 if ($phash)
299 0 0 if ($self->{'Fixups'})