Branch Coverage

blib/lib/FLV/FromSWF.pm
Criterion Covered Total %
branch 21 38 55.2


line true false branch
110 1 2 unless ($outfh)
116 0 2 unless ($$self{'flv'}->serialize($outfh))
120 0 2 unless close $outfh
164 1794 604 if ($tag_sub)
195 0 4 if (2 == $$self{'audiocodec'} and 4 < $length)
214 0 592 if (0 == $length)
230 592 0 if (2 == $$self{'audiocodec'}) { }
232 0 592 if (4 == $length)
248 4 588 if (0 == $$self{'samples'})
251 4 0 if (1 == $frame)
263 0 592 if (4000000000 < $millisec or 0 > $millisec)
290 0 4 if ($$self{'streamid'})
313 0 596 if (0 == $length)
320 0 596 if $$self{'streamid'} != $streamid
329 298 298 if (2 == $$self{'codec'}) { }
0 298 elsif (3 == $$self{'codec'} or 6 == $$self{'codec'}) { }
298 0 elsif (4 == $$self{'codec'}) { }
0 0 elsif (5 == $$self{'codec'}) { }
338 0 0 $framenum ? :