Branch Coverage

blib/lib/Image/ExifTool/WTV.pm
Criterion Covered Total %
branch 37 56 66.0


line true false branch
159 0 31 if $sec == 65535
160 2 29 unless $sec
161 24 5 defined $data ? :
162 0 29 unless $raf->Seek($sec * $secSize, 0) and $raf->Read($buff, $secSize) == $secSize
165 2 1 defined $data ? :
180 1 73 unless substr($$dataPt, $pos, 16) eq "Z\376\327m\310\35\217J\231\"\372\261\0348\24S"
186 0 1501 if $pos + 2 > $end
189 73 1428 if $ch eq "\0\0"
192 0 73 if $pos + $len > $end
196 0 73 unless ($tagTablePtr->{$tag})
203 40 33 if ($fmt == 0 or $fmt == 3) { }
23 10 elsif ($fmt == 1) { }
2 8 elsif ($fmt == 6) { }
8 0 elsif ($fmt == 4) { }
236 0 1 unless $raf->Read($buff, 96) == 96
237 0 1 unless $buff =~ /^\xb7\xd8\x00\x20\x37\x49\xda\x11\xa6\x4e\x00\x07\xe9\x5e\xad\x8d/
246 0 1 unless $secSize == 4096 or $secSize == 256
248 0 1 unless defined $buff
253 1 8 unless (substr($buff, $pos, 16) eq "\222\267t\221YppD\210\337\6;\202\314!=")
254 0 1 unless $pos
258 0 8 if $pos + $len > length $buff
260 0 8 if 40 + $n * 2 + 8 > $len
264 0 8 if ($verbose)
266 0 0 unless $s < 0
269 7 1 unless $tagTablePtr->{$tag} and $flg == 0 || $flg == 1
272 0 1 unless defined $data
274 1 0 if $flg == 1
275 0 1 unless defined $data