Branch Coverage

blib/lib/Image/ExifTool/GIMP.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
177 1 4 if $pos + 4 > $end
180 0 4 if $pos + $size + 8 > $end
187 0 4 if $pos + $size > $end
188 0 4 if (not $tagTablePtr->{$tag} and $unknown)
192 0 0 unless length $name
195 0 0 unless length $name > 1
218 0 1 unless $raf->Read($buff, 26) == 26
219 0 1 unless $buff =~ /^gimp xcf /
230 0 1 if $et->{'XCFVersion'} =~ /^v0*(\d+)/ and $1 >= 4
234 0 6 unless $raf->Read($buff, 8) == 8
235 1 5 unless my $tag = &Get32u(\$buff, 0)
237 0 5 if $verbose
238 0 5 unless ($tagTablePtr->{$tag})
242 0 5 unless $raf->Read($buff, $size) == $size