Branch Coverage

blib/lib/Image/ExifTool/DV.pm
Criterion Covered Total %
branch 30 50 60.0


line true false branch
158 0 2 unless $raf->Read($buff, 12000)
159 1 1 if ($buff =~ /\x1f\x07\0[\x3f\xbf]/gs) { }
163 0 0 if pos($buff) - 163 < 0
167 1 0 unless defined $start
171 0 1 if $start + 480 > $len
180 0 1 if ($dsf == 1 and $stype == 0 and &Get8u(\$buff, 4) & 7) { }
184 1 1 unless $dsf == $_->{'DSF'} and $stype == $_->{'VideoSType'}
188 0 1 unless $profile
196 1 0 if defined $fileSize
206 2 3 unless ($type & 240) == 80
210 1 42 if ($type == 97) { }
1 41 elsif ($type == 98) { }
1 40 elsif ($type == 99 and $date) { }
220 0 1 if ($date =~ /[a-f]/) { }
224 1 0 $date lt '9' ? :
238 1 0 if ($date and $time)
240 1 0 if (defined $is16_9)
241 1 0 $is16_9 ? :
242 1 0 $interlace ? :
251 1 0 if ($pos + 4 < $len and &Get8u(\$buff, $pos) == 80)
256 1 0 if ($freq < 3)
259 1 0 if ($stype < 3)
260 1 0 if $stype == 0 and $quant and $freq == 2
263 1 0 $quant ? :
268 0 13 unless defined $profile->{$tag}