Branch Coverage

blib/lib/Image/ExifTool/APP12.pm
Criterion Covered Total %
branch 36 46 78.2


line true false branch
138 43 3 unless $et
144 2 1 if ($dataPt) { }
156 1 7 if ($pos + 4 <= $dirEnd) { }
160 0 1 if ($pos + $len > $dirEnd)
167 3 4 unless @addTags
169 1 3 if $doneTags{$tag}
173 4 0 if ($tagInfo)
176 1 3 if (defined $val) { }
177 1 0 if ($et->IsOverwriting($nvHash, $val))
182 0 3 unless $nvHash->{'IsCreating'}
185 4 0 if ($isNew)
188 1 3 unless defined $val
194 2 1 if length $newData
217 21 41 if $pos + 4 > $dirEnd
221 0 41 if ($pos + $len > $dirEnd)
247 3 19 if ($dirLen != $dirStart + length($$dataPt)) { }
265 120 462 if ($token =~ /^\[(.*)\]/)
266 0 120 if $verbose
267 82 38 $token =~ /\[(\S+) ?Info\]/i ? :
271 0 462 if $verbose and not $success
275 0 462 if $verbose
276 32 430 unless ($tagInfo)
280 0 32 if $section =~ /camera/i