Branch Coverage

blib/lib/Video/Info/RIFF.pm
Criterion Covered Total %
branch 19 34 55.8


line true false branch
31 3 2 unless defined $arg
37 0 3 unless defined $arg
53 0 3 unless sysread $fh, $type, 12
55 0 0 unless $type =~ /^(RIFF)/ or $type =~ /^(AVI) /
66 0 3 unless sysread $fh, $byte, 8
67 3 0 if (substr($byte, 0, 4) eq 'LIST') { }
0 0 elsif ($byte eq 'idx1') { }
68 0 3 unless sysread $fh, $byte, 4
70 3 0 if (substr($byte, 0, 4) eq 'hdrl') { }
0 0 elsif ($byte eq 'movi') { }
86 6 30714 if ($window eq 'strh') { }
6 30708 elsif ($window eq 'strf') { }
91 3 3 if ($window eq 'vids') { }
3 0 elsif ($window eq 'auds') { }
99 3 0 if $self->fps
114 3 3 if ($last_tag == 1) { }
3 0 elsif ($last_tag == 2) { }