Branch Coverage

lib/Image/Info/WEBP.pm
Criterion Covered Total %
branch 21 38 55.2


line true false branch
38 0 20 unless defined $n
39 0 20 unless $n == $len
50 0 10 unless $signature =~ /\ARIFF....WEBPVP8([ LX])/s
62 4 6 if ($type eq 'X') { }
3 3 elsif ($type eq 'L') { }
73 0 4 if $flags & 193
75 0 4 if $flags >> 8
88 1 3 if ($flags & 2) { }
99 0 3 if $length & 1
101 0 3 unless seek $fh, $length, 1
105 0 3 unless defined $n
106 0 3 if $n == 0
108 0 3 unless $n == 8
111 3 0 if ($chunk eq 'VP8 ') { }
0 0 elsif ($chunk eq 'VP8L') { }
125 0 3 unless $sig == 47
128 0 3 unless $version == 0
144 0 3 if $type & 1
147 0 3 unless $start == 2752925