Branch Coverage

blib/lib/Video/Info/ASF.pm
Criterion Covered Total %
branch 53 74 71.6


line true false branch
56 0 6 unless ref $self
57 2 4 unless $val
82 0 4 unless unpack('V', substr($header, 0, 4)) == 1974609456
87 0 4 unless $bytes = $headersize
97 3 6925 if unpack('V', $window) == 2261865024
98 4 6924 if unpack('V', $window) == 1974609456
99 4 6924 if unpack('V', $window) == 4167671360
100 8 6920 if unpack('V', $window) == 3155816384
101 0 6928 if unpack('V', $window) == 1240572992
102 4 6924 if unpack('V', $window) == 3217280336
103 4 6924 if unpack('V', $window) == 1974609459
104 0 6928 if unpack('V', $window) == 1974609462
105 0 6928 if unpack('V', $window) == 855640208
106 12 6916 if unpack('V', $window) == 3084650385
107 0 6928 if unpack('V', $window) == 3605146065
108 4 6924 if unpack('V', $window) == 2360073377
119 27 4 $nextguid ? :
127 4 27 if ($guid == 1974609456) { }
0 27 elsif ($guid == 3605146065) { }
3 24 elsif ($guid == 2261865024) { }
4 20 elsif ($guid == 2360073377) { }
4 16 elsif ($guid == 1974609459) { }
4 12 elsif ($guid == 3155816384) { }
8 4 elsif ($guid == 3217280336 or $guid == 4167671360) { }
0 4 elsif ($guid == 519772720) { }
4 0 elsif ($guid == 3084650385) { }
0 0 elsif ($guid == 1974609462) { }
0 0 elsif ($guid == 855640208) { }
0 0 elsif ($guid == 1240572992) { }
138 0 3 unless length $head >= 40
160 3 3 if ($type == 0 or $type == 1)
165 3 3 if ($type == 2)
166 0 3 unless $self->acodec
187 0 4 unless length $head >= 32
212 0 4 unless length $head >= 34
230 0 4 unless length $head >= 16
247 4 4 unless length $head >= 18